Skip to content

Ready to use boilerplate for your next react-api shipped with a ready authentification logic, model and route

Notifications You must be signed in to change notification settings

kacemws/Express-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express-boilerplate

Ready to use boilerplate for your next react-api shipped with a ready authentification logic, model and route

how to use

  • fork it

  • clone it

  • create a mongodb cluster/db

  • add a .env file and insert :

    • MONGO_USER = <put here the username from the mongodb server>
    • MONGO_PSW = <put here the password from the mongodb server>
    • MONGO_SERVER = <put here your server address>
    • MONGO_DB = <put here your db name>
    • MONGO_CONNECTION_STRING = mongodb+srv://${MONGO_USER}:${MONGO_PSW}@${MONGO_SERVER}/${MONGO_DB}?retryWrites=true&w=majority
    • ACCESS_TOKEN_SECRET = <put here a secret key that would help you generate uniques access tokens>
    • REFRESH_TOKEN_SECRET = <put here a secret key that would help you generate uniques access tokens>
  • npm install

  • npm start and enjoy !

About

Ready to use boilerplate for your next react-api shipped with a ready authentification logic, model and route

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages