Skip to content

Commit

Permalink
Merge pull request #10 from ZapZapMe/beta
Browse files Browse the repository at this point in the history
Beta
  • Loading branch information
omelchenkoy authored Feb 12, 2025
2 parents 8c545e8 + 3748478 commit 4a2eb6c
Show file tree
Hide file tree
Showing 35 changed files with 20,872 additions and 11,956 deletions.
2 changes: 1 addition & 1 deletion .env.development
Original file line number Diff line number Diff line change
@@ -1 +1 @@
REACT_APP_API_ENDPOINT=http://localhost:8080
REACT_APP_API_ENDPOINT=https://api-beta.zap-zap.me
2 changes: 1 addition & 1 deletion .env.production
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
REACT_APP_API_ENDPOINT=https://api.zap-zap.me
REACT_APP_API_ENDPOINT=https://api-beta.zap-zap.me
CI=false
6 changes: 3 additions & 3 deletions .firebaserc
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"zapzap-me": {
"hosting": {
"production": [
"production-zapzap-me"
"zapzap-me-production"
],
"beta": [
"beta-zapzap-me"
"zapzap-me-beta"
]
}
}
}
}
}
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no -- commitlint --edit $1
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
## [1.0.1](https://github.com/ZapZapMe/zapzap-web/compare/v1.0.0...v1.0.1) (2025-02-12)


### Chores

* running commitlint tests ([7f57cf4](https://github.com/ZapZapMe/zapzap-web/commit/7f57cf4846b4709515afb88be00c8d5949a3be5a))
* testing commitlint rules ([4fb9b3c](https://github.com/ZapZapMe/zapzap-web/commit/4fb9b3cd23920929e09fd2613f709ebd4ea197b7))

## 1.0.0 (2025-02-12)


### Features

* Integrated semantic-release for automated version control ([96c6384](https://github.com/ZapZapMe/zapzap-web/commit/96c6384fa599f0b482456960cd818976286c94a4))


### Bug Fixes

* updating commit url for the changelog ([8be1baf](https://github.com/ZapZapMe/zapzap-web/commit/8be1bafdd58b8abdaaf24e072b7a3e7bc37da345))


### Documentation

* updated readme file with semantic-release notes ([7e6077e](https://github.com/ZapZapMe/zapzap-web/commit/7e6077ed570bba44679525d9a18ca9c678273f3a))


### Chores

* updated scope of changelog messages ([88cc012](https://github.com/ZapZapMe/zapzap-web/commit/88cc012761e8df66663da879f92861977759bcd2))
22 changes: 18 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,44 @@ Install [Firebase CLI](https://firebase.google.com/docs/cli)

## deployment


```bash
npm login
npm login
npm run build
firebase deploy --only hosting:beta # or production
```

Deploys to:

- https://beta.zap-zap.me

View the [Firebase Console](https://console.firebase.google.com/u/0/project/zapzap-me/hosting/sites/beta-zap-zap-me) for status


### Using Docker to just run the frontend

```bash
```bash
docker build -t zapzap-web -f Dockerfile
docker run -p 4200:4200 -v .:/src zapzap-web # live editing
```

## Releasing with semantic-release

To automate the release process, project uses [semantic-release](https://semantic-release.gitbook.io/semantic-release/).
For more information on how to write commit messages that will be recognized by semantic-release, refer to the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification.

To create a new release, simply run:

```bash
npm run release
```

This will analyze your commits, generate release notes, update the changelog, and create a new release on GitHub.


![Screenshots](assets/image.png)

![Screenshots](assets/profile-page.png)


# License

Copyright 2025 ZapZap Heavy Industries
Expand Down
23 changes: 23 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
[
'feat',
'fix',
'docs',
'style',
'refactor',
'perf',
'test',
'build',
'ci',
'chore',
'revert',
],
],
'body-max-line-length': [2, 'always', 'Infinity'],
},
};
Loading

0 comments on commit 4a2eb6c

Please sign in to comment.