MongoDB - Express - React - NodeJS
MERN Stack with PassportJS (and JWT) for users auth and auto refresh on page loading !
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You need to install these tools :
After cloning the project, you must configure the url of your mongodb server here: server/config/keys.js
Like this :
module.exports = {
mongoURI: "YOUR_URL", // Example : mongodb://localhost:27017/mernapp
secretOrKey: "secret"
};
Then you can execute commands to install the NPM modules and launch the project :
cd ./client/
npm i
cd ../server/
npm i
cd ../
npm i -g concurrently nodemon
npm run dev
For the explanation of the client package : Client
For the explanation of the server package : Server
- React - Front library
- NodeJS - Backend
- Express - Web framework for the backend
- Redux - Predictable state container for JavaScript apps
- PassportJS - Simple, unobtrusive authentication for NodeJS
- JWT - JsonWebToken implementation for node.js
- MongoDB - Database server
- And other...
Alexandre MAUL
This project is licensed under the MIT License