Skip to content

Latest commit

 

History

History
64 lines (49 loc) · 2.17 KB

README.md

File metadata and controls

64 lines (49 loc) · 2.17 KB

Ball-bouncer (Arkanoid) game

RS School RS Clone task

Link to PR

Front-end part

React/ TypeScript/ Redux/ Redux Thunk/ Material UI/ Ant-Design/ React-router-dom/ React-transition-group/ Canvas/ Eslint

(Wait a bit until the server wakes up. You don't need to configure anything, just enjoy the game)

To start project locally you need:

  1. Fork this repository
  2. Checkout to develop branch
  3. Navigate to the front folder
  4. npm i
  5. npm run start
  6. you are in business!

Back-end part

NodeJS/ TypeScript/ Express/ MongoDB/ Mongoose/ Bcryptjs/ Joi/ JsonWebToken/ Passport.js/ Swagger

To start back-end locally you need:

  1. Fork this repository
  2. Checkout to develop branch
  3. Navigate to the back-end folder
  4. npm i
  5. Add .env file to root directory
  6. Set environment variables
MONGO_HOST=<MongoDB host>
// exemple - cluster0.xxxxx.mongodb.net
MONGO_PASSWORD=<Your MongoDB password>
MONGO_USERNAME=<Your MongoDB username>

NODEMAILER_HOST=<Nodemailer host>
// exemple - smtp.beget.com
NODEMAILER_USER=<Nodemailer user>
// exemple - [email protected]
NODEMAILER_PASS=<Nodemailer password>

JWT_KEY=<JWT key string>

GOOGLE_CLIENT_SECRET=<Client secret from Google API Console>
GOOGLE_CLIENT_ID=<Client ID from Google API Console>

GITHUB_CLIENT_SECRET=<Github client secret>
GITHUB_CLIENT_ID=<Github client id>

FACEBOOK_CLIENT_ID=<Facebook client id>
FACEBOOK_CLIENT_SECRET=<Facebook client secret>
  1. npm run start
  2. you are in business!

You can set up just one of them for testing