Are you looking for a MERN boilerplate for auth included. That's the Boilerplate for you!
- MongoDb and Mongoose - MongoDb as a Database and mongoose as as a Object Data Modeling library for MongoDB and Node.js
- Express - as a backend Framework
- React - as a Frontend Framework
- Node - runtime JavaScript
- Redux - as a state management tool
- JsonWebToken - for creating JSON-based access tokens
- bcryptjs - for hashing the user passwords
git clone repoURL
{
"mongoURI": "<your_mongoDB_Atlas_uri_with_credentials>",
"jwtSecret": "secret",
}
npm installcd client
npm installBecause I install concurrently as a dev dependency you can run both the server and the client with just one command
npm run devcd client
npm run buildRemember to change to "name" in the package.json and in the package-lock.json
- Tests
- Backend (api)
- FrontEnd
- More comments
Feel Free to report bug or contribute to improve this boilerplate
Paolo D'Elia
MIT