A boilerplate for projects on the MERN stack.
- MongoDB
- Basic Twitter authentication with Passport
- Concurrently already wired up to run back and front end simultaneously
- Middleware for automated try-catch handling
- Basic models, routes and controllers already set up
- MongoDB wire-up
- Sessions to store auth tokens on MongoDB
- Setup for quick deploy on Heroku
- Redux toolkit
- MUI basic navbar setup
- Auth routing
- Backend proxy
- Create an .env file in the root directory with the following:
- MONGO_URI
- SESSION_SECRET
- TWITTER_API_KEY
- TWITTER_SECRET_KEY
- npm install from root
- npm install from ./client
- npm run dev
- Write code