My project jokingly named "Dqvol 4", used as course finals project. Now is test ground for trying new stuff that I see on internet. Traditional SPA site.
-
React -> started with create-react-app
-
Redux with Thunk & Persist -> state management
-
SASS & Yup -> utils
-
Jest & Enzyme -> testing
-
Node.js with Express -> server
-
MongoDB with Mongoose -> database and ORM
-
Node.js above version 12
-
MongoDB
-
windows-build-tools needed for bcrypt
- Clone project source code
git@github.com:Lyubosumaz/react-softuni-project.git
- Start MongoDB service
service mongod status
sudo systemctl start mongod
- Both directories /server and /client should contain node_modules insure it with
npm install
- Open terminal tabs for both directories /server and /client to run their service
npm start
- Browse http://localhost:3000
In terminal on directory /client type command
npm run test
Authentication with JWT and refresh tokens on time interval with blacklisting tokens
Client Route Authentication for paths: /logout, /profile, all /game and all /social
Unit Testing the correct rendering of components
/server/utils/seed.js contains the Game Items
/server/app-config.js contains server options