Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
262 commits
Select commit Hold shift + click to select a range
3d37087
Merge remote-tracking branch 'origin/feature/create-github-actions-wo…
Feb 4, 2023
bb1162e
fix: linters checks workflow
Feb 4, 2023
8b638cb
fix: linters checks workflow
Feb 4, 2023
246a142
fix: linters checks workflow
Feb 5, 2023
7fa50ca
fix: linters checks workflow
Feb 5, 2023
fe21935
fix: linters checks workflow
Feb 5, 2023
ad48776
fix: linters checks workflow
Feb 5, 2023
1d1be42
fix: linters checks workflow
Feb 5, 2023
1a19ed8
fix: fix app listen port
Feb 5, 2023
4ca7e34
Merge pull request #6 from HardManDev/feature/create-github-actions-w…
Feb 5, 2023
38343f6
feat: create webpack environment variables definition
Feb 5, 2023
014b34c
feat: create mock API test
Feb 5, 2023
034b154
feat: update ESLint rules
Feb 5, 2023
69c1ded
refactor: apply ESLint rules
Feb 5, 2023
f441375
feat: enable CORS
Feb 5, 2023
88f5021
Merge pull request #8 from HardManDev/feature/webpack-environment-var…
Feb 5, 2023
d54d8d2
docs: add action badges
Feb 5, 2023
49a5f83
docs: create build and start information
Feb 5, 2023
eb3e193
Merge pull request #10 from HardManDev/docs/update-readmemd
Feb 5, 2023
f3a7332
fix: lint on PR badges
Feb 5, 2023
3b8b5ba
feat: create level area, player move
jukfloyd Feb 5, 2023
257ad92
fix: add lost styles
jukfloyd Feb 5, 2023
792214a
fix: CRLF in index.ts
jukfloyd Feb 5, 2023
ae5caa5
fix: eslint errors
jukfloyd Feb 5, 2023
6c8e971
fix: stylelint main.css errors
jukfloyd Feb 5, 2023
275fa9b
feat: add level1 structure
jukfloyd Feb 5, 2023
3f73983
refactor: changes after code review
jukfloyd Feb 6, 2023
09ec3db
refactor: changes after code review
jukfloyd Feb 6, 2023
c41ff12
refactor: player state, move, look, shoot enums
jukfloyd Feb 6, 2023
b4066e2
Merge pull request #12 from HardManDev/feature/create-level-area-play…
Feb 7, 2023
2d6515c
feat: add shooting 6 angles, monster health loose and die
jukfloyd Feb 8, 2023
86bef10
refactor: add type for Line
jukfloyd Feb 9, 2023
7c3fc2b
refactor: split types
jukfloyd Feb 9, 2023
7bb2eba
refactor: eslint format
jukfloyd Feb 9, 2023
441cdbb
Merge pull request #14 from HardManDev/feature/add-level-1-walls-plat…
Feb 9, 2023
359ecab
refactor: merge from add-level branch
jukfloyd Feb 9, 2023
1f8b234
feat: add shooting monsters 6 angles, 2 types of monsters
jukfloyd Feb 9, 2023
209698f
Merge pull request #18 from HardManDev/feature/add-shooting-monsters-…
Feb 10, 2023
53fe792
refactor: reinitialize nest js project
Feb 10, 2023
2cd7d37
Merge pull request #20 from HardManDev/feature/reinitialize-nest-js-p…
Feb 10, 2023
be66a60
feat: add monsters attack, player death
jukfloyd Feb 10, 2023
d8092a9
feat: add MongoDB connection
Feb 10, 2023
4f87475
Merge pull request #25 from HardManDev/feature/connect-mongodb
Feb 10, 2023
38900cb
Merge pull request #24 from HardManDev/feature/add-monsters-attack-pl…
Feb 11, 2023
312e05e
feat: create user model and schema
Feb 10, 2023
1a31ab4
feat: create user service with CRUD operations
Feb 11, 2023
88eb825
Merge pull request #28 from HardManDev/feature/create-user-module
Feb 11, 2023
90c8ae8
feat: create user model and schema
Feb 10, 2023
913fde2
feat: create a selection controller for the desired animation
VasaSkor Feb 11, 2023
22b55c9
feat: add a sprite for the main character animation
VasaSkor Feb 11, 2023
27e0e1c
feat: add an interface for select the desired animation
VasaSkor Feb 11, 2023
12bf459
feat: аdd enum to select animation direction
VasaSkor Feb 11, 2023
bf18917
feat: add animation styles and its keyframes
VasaSkor Feb 11, 2023
5610ade
refactor: refactor apply stylint
VasaSkor Feb 11, 2023
8fea2e8
fix: import scss
VasaSkor Feb 11, 2023
654951c
fix: base styles are not erase
VasaSkor Feb 11, 2023
b0c9f05
Merge pull request #31 from HardManDev/feature/add-animation-for-the-…
Feb 11, 2023
a4b8629
feat: add game score door with loot
jukfloyd Feb 11, 2023
a090199
feat: create user service
Feb 11, 2023
d1e060f
feat: add player animation
jukfloyd Feb 11, 2023
c34e8a5
Merge pull request #33 from HardManDev/feature/add-player-animation-f…
Feb 11, 2023
41086cd
fix: fix visual bug associate with the state of stand to the left and…
VasaSkor Feb 11, 2023
6289e2e
Merge pull request #36 from HardManDev/fix/fix-move-animation
Feb 11, 2023
80b4a02
Merge branch 'develop' into feature/create-user-module
Feb 11, 2023
446f56d
Merge pull request #37 from HardManDev/feature/create-user-module
Feb 11, 2023
724c8e1
feat: add game over screen, info on score and lives
jukfloyd Feb 11, 2023
326ec8c
Merge branch 'develop' into feature/add-game-score-game-over-doors-wi…
Feb 11, 2023
b432806
Merge pull request #39 from HardManDev/feature/add-game-score-game-ov…
Feb 11, 2023
ea825a7
refactor: move modules into ./modules
Feb 12, 2023
643cd03
refactor: errors replace on HttpException
Feb 12, 2023
dbd38c9
fix: fix default value for MongoDB connection URI
Feb 12, 2023
495f2f5
fix: fix UserNotFoundError
Feb 12, 2023
40c9fe8
fix: fix UserAlreadyExists
Feb 12, 2023
7607662
refactor: replace DTO
Feb 12, 2023
3b68c2a
refactor: bootstrap function
Feb 12, 2023
6b580f4
refactor: apply DTO for user service
Feb 12, 2023
ccebd71
feat: add death animation layer
jukfloyd Feb 12, 2023
83bfbd4
refactor: remove unused spec files
Feb 12, 2023
dc8afef
Merge pull request #44 from HardManDev/refactor/refator-nest-js-modules
Feb 12, 2023
b498a0e
Merge pull request #43 from HardManDev/feature/add-death-animation-layer
Feb 12, 2023
91df9ad
feat: create auth module
Feb 12, 2023
472dd32
feat: create auth service
Feb 12, 2023
3d6c9cc
refactor: replace Omit on Pick
Feb 12, 2023
0f7fa82
feat: create register with local provider
Feb 12, 2023
7c3c876
feat: create login with local provider
Feb 12, 2023
a059489
feat: add password encrypt
Feb 12, 2023
4172f5f
feat: create auth controller with register and login using local prov…
Feb 12, 2023
5647c35
Merge pull request #46 from HardManDev/feature/create-auth-module
Feb 12, 2023
1e67b96
hotfix: update node js version into package.json
Feb 12, 2023
f849ac9
hotfix: fix a error in package.json
Feb 12, 2023
63b573e
feat: add jump-fire-bonus sounds
jukfloyd Feb 12, 2023
09e1587
Merge pull request #48 from HardManDev/feature/add-jump-fire-bonus-so…
Feb 12, 2023
583c2d4
feat: add createdAt field in user model
Feb 12, 2023
f5bee2f
Merge pull request #49 from HardManDev/feature/update-user-model-and-…
Feb 12, 2023
387e8df
feat: create JwtStrategy and JwtAuthGuard
Feb 12, 2023
f7abd7b
fix: fix auth controller HTTP exceptions
Feb 12, 2023
623cbb2
Merge pull request #51 from HardManDev/feature/add-jwtauthguard
Feb 12, 2023
9b12768
feat: add dave bullet count recharge
jukfloyd Feb 13, 2023
f02f98d
Merge pull request #53 from HardManDev/feature/add-dave-bullets-count…
Feb 13, 2023
1f7efc7
feat: add UI for zombie animation state
VasaSkor Feb 13, 2023
f8ab29b
feat: add animation styles for zombies
VasaSkor Feb 13, 2023
b2da805
feat: add a controller to select the desire animation for zombies
VasaSkor Feb 13, 2023
abd976f
feat: add zombie animation styles
VasaSkor Feb 13, 2023
6f31523
feat: add zombie animation styles
VasaSkor Feb 13, 2023
27c57e9
feat: add crone animation styles
VasaSkor Feb 13, 2023
1a0d076
feat: add an interface for select the state of the animation for crone
VasaSkor Feb 13, 2023
6795211
feat: add a controller to select the state of the animation
VasaSkor Feb 13, 2023
44a37ce
refactor: modify setListener from PlayLevel
jukfloyd Feb 13, 2023
a38160e
Merge pull request #54 from HardManDev/feature/add-animation-for-the-…
Feb 14, 2023
a1d133c
feat: create Score model and schema
Feb 14, 2023
b6156db
Merge pull request #58 from HardManDev/feature/create-score-model-and…
Feb 14, 2023
fc754ee
refactor: modify shoot, dave animation
jukfloyd Feb 14, 2023
0831ecd
refactor: scss styles
jukfloyd Feb 14, 2023
0108519
Merge pull request #60 from HardManDev/refactor/part1
Feb 14, 2023
7328b80
feat: add animation for enemy
jukfloyd Feb 14, 2023
cc5c94c
feat: add meat explosion
jukfloyd Feb 15, 2023
61fddaf
Merge pull request #62 from HardManDev/feature/apply-animation-for-enemy
Feb 15, 2023
50fa487
Merge pull request #64 from HardManDev/feature/add-enemy-explosion
Feb 15, 2023
a3dbcd2
feat: create Score model and schema
Feb 16, 2023
02913d9
Merge pull request #65 from HardManDev/feature/create-score-model-and…
Feb 16, 2023
06da324
feat: add user field in request protected JwtAuthGuard
Feb 16, 2023
b978088
refactor: remove unused scores filed from user schema and model
Feb 16, 2023
a01ed43
feat: score field set to index-able
Feb 16, 2023
0a6ef20
feat: create Score service
Feb 16, 2023
d551101
feat: create Score controller
Feb 16, 2023
fe51077
feat: create Score module
Feb 16, 2023
31a17a1
refactor: remove console.log
Feb 16, 2023
8ee7f07
Merge pull request #66 from HardManDev/feature/create-score-module
Feb 16, 2023
1d5b3b2
refactor: remove unused dependencies
Feb 16, 2023
507111d
refactor: remove unused methods in User service
Feb 16, 2023
f308626
refactor: remove unused controller and service in App module
Feb 16, 2023
7b1fd30
refactor: remove unused types
Feb 16, 2023
2550cce
Merge pull request #68 from HardManDev/refactor/refactor-and-cleanup-…
Feb 16, 2023
824ae28
feat: create middleware to limit the maximum value of the query param…
Feb 16, 2023
bf6999d
refactor: move getScoreDto type into generic collectionDto
Feb 16, 2023
df0b312
feat: create Leaderboard module with service and controller
Feb 16, 2023
f6783ae
Merge pull request #70 from HardManDev/feature/create-leaderboard-module
Feb 16, 2023
9c3fd12
refactor: add geometry class, reduce length of methods
jukfloyd Feb 20, 2023
10405b4
Merge pull request #73 from HardManDev/refactor/geometry
Feb 21, 2023
431f081
feat: made an animation for pickups
VasaSkor Feb 24, 2023
3dbea4e
Merge pull request #76 from HardManDev/feature/add-animation-for-the-…
Feb 24, 2023
a19b77f
feat: add interface for death animation
VasaSkor Feb 24, 2023
a18e30a
feat: add styles and animation for death
VasaSkor Feb 24, 2023
833edc9
feat: add a controller to control the death animation
VasaSkor Feb 24, 2023
2a9b5bd
Merge pull request #78 from HardManDev/feature/add-death-animation
Feb 25, 2023
a93ab6c
feature: apply death animation
jukfloyd Feb 25, 2023
2eb8324
fix: crone empty shots
jukfloyd Feb 25, 2023
b306a7c
fix: fix zombie attack animation
VasaSkor Feb 25, 2023
d6e3aa7
feat: create API interaction interfaces
Feb 25, 2023
f5c208e
refactor: remove unused .gitkeep files
Feb 25, 2023
391fe03
feat: create API controller implementation
Feb 25, 2023
8e09865
feat: create base API request
Feb 25, 2023
2ff8244
feat: create auth user local request model
Feb 25, 2023
cc0a356
feat: create request model for create score
Feb 25, 2023
a540499
feat: create request model for get score
Feb 25, 2023
ddfc0f3
feat: create request model for get leaderboard
Feb 25, 2023
84d1edb
feat: create MappingFailedError
Feb 25, 2023
2051347
Merge pull request #84 from HardManDev/feature/create-api-wrapper-for…
Feb 25, 2023
7bc2223
Merge pull request #82 from HardManDev/fix/fix-zombie-animation
Feb 25, 2023
e57972c
Merge pull request #81 from HardManDev/feature/apply-death-animation
Feb 25, 2023
a225c46
fix: fix CORS
Feb 25, 2023
525c032
fix: fix X-Total-Count header for get score by user
Feb 25, 2023
e7e4387
Merge pull request #86 from HardManDev/fix/fix-x-total-count-header
Feb 25, 2023
3697030
feat: create an animation of gunpowder during the main character's shot
VasaSkor Feb 25, 2023
58e993b
feat: create an animation of gunpowder during the main character's shot
VasaSkor Feb 25, 2023
111ba0d
Merge remote-tracking branch 'origin/feature/add-shooting-animation' …
VasaSkor Feb 25, 2023
2940129
refactor: change the file to match stylelint
VasaSkor Feb 25, 2023
82d5428
feat: apply animation for pickup and made a random loot behind the doors
VasaSkor Feb 26, 2023
f05a8aa
fix: fix crone attack animation
VasaSkor Feb 26, 2023
2cd8bd5
Merge pull request #92 from HardManDev/fix/fix-crone-animation
Feb 26, 2023
472bd12
Merge pull request #90 from HardManDev/feature/applied-animation-for-…
Feb 26, 2023
0e99da1
Merge pull request #88 from HardManDev/feature/add-shooting-animation
Feb 26, 2023
12635f5
feat: create polyfill for document.createElement
Feb 26, 2023
5a2d0a1
feat: create user auth form
Feb 26, 2023
1c59f38
feat: create base inputs and buttons styles
Feb 26, 2023
022f5d3
feat: create header component
Feb 26, 2023
d6126ef
feat: create app component
Feb 26, 2023
f555947
Merge pull request #93 from HardManDev/feature/create-user-auth-form
Feb 26, 2023
a73fdd4
feat: create user controller
Feb 26, 2023
37ed7b1
Merge pull request #96 from HardManDev/feature/create-user-controller
Feb 26, 2023
f2bb057
feat: create get user info API request
Feb 26, 2023
461822c
feat: create utils for get and delete cookies
Feb 26, 2023
138d268
feat: create util for generate color from user id
Feb 26, 2023
68414ca
feat: add exit.svg
Feb 26, 2023
74eac5e
feat: create auth controller
Feb 26, 2023
84b522f
feat: create user profile component
Feb 26, 2023
9355c8f
Merge pull request #97 from HardManDev/feature/create-user-profile
Feb 26, 2023
d9d873a
fix: change speed zombie animation
VasaSkor Feb 26, 2023
a15a9ce
fix: fix generate loot
VasaSkor Feb 26, 2023
53b733a
feat: create leaderboard component
Feb 26, 2023
ddccf88
fix: fix fetch leaderboard timeout
Feb 26, 2023
4cda483
Merge pull request #104 from HardManDev/feature/create-leaderboard-co…
Feb 26, 2023
2096ba4
Merge pull request #100 from HardManDev/fix/change-move-speed-zombie
Feb 26, 2023
3b758c0
Merge pull request #102 from HardManDev/fix/fix-generation-loot
Feb 26, 2023
0d60322
feat: create base results component
Feb 27, 2023
de13bbd
Merge pull request #106 from HardManDev/feature/create-best-results-c…
Feb 27, 2023
00d2ed3
feat: made new loot sprites
VasaSkor Feb 27, 2023
38ef322
feat: apply animation for new loot
VasaSkor Feb 27, 2023
25b8ca1
fix: results panels size
Feb 27, 2023
80f604e
Merge pull request #109 from HardManDev/fix/fix-score-info-panels-size
Feb 27, 2023
d199cab
fix: fix z-indexes
Feb 27, 2023
af528a9
feat: add create score logic when dave goes dead
Feb 27, 2023
0b7f71e
Merge pull request #111 from HardManDev/feature/create-score-when-dav…
Feb 27, 2023
b5f4131
Merge pull request #108 from HardManDev/feature/add-new-random-loot
Feb 27, 2023
aa77bc9
hotfix: fix CORS
Feb 27, 2023
e87f4da
hotfix: fix CORS
Feb 27, 2023
e8ec16c
fix: fix cookies policy
Feb 27, 2023
d79db80
hotfix: fix cookies policy
Feb 27, 2023
0ec69d5
Merge remote-tracking branch 'origin/develop' into develop
Feb 27, 2023
1886e4b
hotfix: fix cookies policy
Feb 27, 2023
8af7c17
hotfix: fix cookies policy
Feb 27, 2023
608c556
Merge remote-tracking branch 'origin/develop' into develop
Feb 27, 2023
12f83a9
hotfix: fix cookies policy
Feb 27, 2023
d7646dc
hotfix: fix cookies policy
Feb 27, 2023
6304b12
hotfix: fix cookies policy
Feb 27, 2023
9d367d5
hotfix: fix cookies policy
Feb 27, 2023
fb579f6
hotfix: fix cookies policy
Feb 27, 2023
9eafb1a
hotfix: fix cookies policy
Feb 27, 2023
a5051d6
hotfix: fix cookies policy
Feb 27, 2023
c55836b
feat: add open exit door and game over
jukfloyd Feb 27, 2023
f1fdc3a
feat: add saving score on game over
jukfloyd Feb 27, 2023
8ce2ab2
feat: create footer component
Feb 27, 2023
652e3ff
Merge pull request #117 from HardManDev/feature/create-footer-component
Feb 27, 2023
17aa6f8
Merge pull request #116 from HardManDev/feature/add-open-door-game-over
Feb 27, 2023
178a065
feat: add file-loader
Feb 27, 2023
3a868ce
feat: add logo
Feb 27, 2023
49baeeb
Merge pull request #120 from HardManDev/feature/add-logo
Feb 27, 2023
1d901a0
hotfix: fix remove cookie logic
Feb 27, 2023
d6461e4
hotfix: fix remove cookie logic
Feb 27, 2023
c36598c
hotfix: fix remove cookie logic
Feb 27, 2023
7d96374
hotfix: fix remove cookie logic
Feb 27, 2023
e5e589e
hotfix: fix remove cookie logic
Feb 27, 2023
5fc6bbb
hotfix: fix remove cookie logic
Feb 27, 2023
7e4bab5
hotfix: fix remove cookie logic
Feb 27, 2023
0b31999
hotfix: fix remove cookie logic
Feb 27, 2023
0256f1d
feat: url-loader change limit
VasaSkor Feb 27, 2023
fd13106
feat: add control screen and sound start game
VasaSkor Feb 27, 2023
8e7e269
hotfix: fix remove cookie logic
Feb 27, 2023
87047b8
hotfix: fix remove cookie logic
Feb 27, 2023
14fa84b
hotfix: fix remove cookie logic
Feb 27, 2023
44f02ac
hotfix: fix remove cookie logic
Feb 27, 2023
a7ada58
Merge pull request #121 from HardManDev/feature/add-controls-screen-s…
Feb 27, 2023
c6f90b2
hotfix: fix cookies policy
Feb 27, 2023
571bdc8
Merge remote-tracking branch 'origin/develop' into develop
Feb 27, 2023
d1721c2
hotfix: fix cookies policy
Feb 27, 2023
1b4f324
hotfix: fix cookies policy
Feb 27, 2023
5eb082a
hotfix: fix cookies policy
Feb 27, 2023
538ac11
hotfix: update README.md
Feb 27, 2023
fcc904c
hotfix: update README.md
Feb 27, 2023
eb8865b
hotfix: update README.md
Mar 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/linterChecks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Lint on Pull Request

on:
pull_request:
branches:
- master
- develop

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node JS
uses: actions/setup-node@v2
with:
node-version: 18.14.0

- name: Install dependencies for server
run: cd ./server && npm ci

- name: Run ESLint for server
run: cd ./server && npm run lint

- name: Install dependencies for client
run: cd ./client && npm ci

- name: Run ESLint for client
run: cd ./client && npm run eslint

- name: Run Stylelint for client
run: cd ./client && npm run stylelint
6 changes: 6 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/rs-clone.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 61 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,70 @@
# RS Clone
[![LICENSE](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)
[![Linters checks](https://github.com/HardManDev/rs-clone/actions/workflows/linterChecks.yml/badge.svg)](https://github.com/HardManDev/rs-clone/actions/workflows/linterChecks.yml)
[![Netlify Status](https://api.netlify.com/api/v1/badges/94ea65cd-5857-4022-a8f4-923b64062608/deploy-status?style=flat-square)](https://app.netlify.com/sites/hardmandev-rs-clone/deploys)

[RSSchool](https://rs.school/) final
[task](https://github.com/rolling-scopes-school/tasks/blob/master/tasks/rsclone/rsclone.md).

> *Read more at here after release...*
## Documentation
[![Run in Postman](https://run.pstmn.io/button.svg)](https://god.gw.postman.com/run-collection/19172739-501a8909-9425-4213-b8ea-ccc0d8cd0817?action=collection%2Ffork&collection-url=entityId%3D19172739-501a8909-9425-4213-b8ea-ccc0d8cd0817%26entityType%3Dcollection%26workspaceId%3D82b9cb23-0a2f-430a-b89d-751ccaa7f4bc)
> API Documentation in postman \
> NOTE: For test fork this postman collection

## Build
#### Build a server:
```bash
cd ./server
npm install
npm run build
```
> NOTE: Build result folder: ./server/dist
#### Build a client:
```bash
cd ./client
npm install
npm run build
```
> NOTE: Build result folder: ./client/dist

## Start
#### Start a server:
```bash
cd ./server
npm run start:dev
```
> NOTE: Default URL: http://localhost:3000
#### Start a client:
```bash
cd ./client
npm run start:dev
```
> NOTE: Default URL: http://localhost:8080

## Development stack
- [TypeScript](https://github.com/microsoft/TypeScript)
- [ESLint](https://github.com/eslint/eslint) - for lint source code
#### Front-end
- CSS
- [SASS](https://github.com/sass/sass)
- [Webpack](https://github.com/webpack/webpack) - for build project
- [StyleLint](https://github.com/stylelint/stylelint) - for lint styles
#### Back-end
- [Prettier](https://github.com/prettier/prettier)
- ❤️[NestJS](https://github.com/nestjs/nest) - back-end framework
- [MongoDB](https://github.com/mongodb/mongo) - database for back-end
- [mongoose](https://github.com/nestjs/mongoose) - ORM for work with MongoDB
- [JWT](https://jwt.io/) - for simple authorization & authentication
- [bcrypt](https://github.com/pyca/bcrypt) - for encrypt passwords
#### Deploy
- [Netlify](https://netlify.app/) - for deploy front-end
- [Railway](https://railway.app/) - for deploy back-end
#### Team work
- Git Flow
- [GitHub Projects](https://github.com/users/HardManDev/projects/10)
- [GitHub Actions](https://github.com/HardManDev/rs-clone/actions) - for lint project on pull request

> *Read more at [Dependency graph](https://github.com/HardManDev/rs-clone/network/dependencies)*

## License
This software is licensed under the
Expand Down
50 changes: 50 additions & 0 deletions client/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"airbnb-base",
"airbnb-typescript/base",
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"overrides": [
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "tsconfig.eslint.json"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"no-param-reassign": "off",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/explicit-function-return-type": "error",
"max-len": [
"error",
{
"code": 80,
"tabWidth": 2,
"ignoreComments": true,
"ignoreTrailingComments": true,
"ignoreUrls": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreRegExpLiterals": true
}
],
"max-lines-per-function": [
"warn",
{
"max": 40,
"skipBlankLines": true,
"skipComments": true,
"IIFEs": true
}
]
}
}
6 changes: 6 additions & 0 deletions client/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions client/.idea/client.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions client/.idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions client/.idea/jsLibraryMappings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions client/.idea/jsLinters/eslint.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions client/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions client/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions client/.idea/stylesheetLinters/stylelint.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions client/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions client/.idea/watcherTasks.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions client/.stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "stylelint-config-standard-scss",
"rules": {
"max-line-length": null,
"selector-class-pattern": null,
"scss/no-global-function-names": null,
"scss/at-extend-no-missing-placeholder": null
}
}
5 changes: 5 additions & 0 deletions client/netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[[headers]]
# Define which paths this specific [[headers]] block will cover.
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "*"
Loading