Server - boilerplate - with set passport auth, basic CRUD routes and file upload
- Use this app as a starter code for your server in the full-stack project.
- Follow these steps to clone project to your local machine:
$ git clone https://github.com/sandrabosk/server-boilerplate-with-passport.git
$ cd server-boilerplate-with-passport
$ npm i
$ npm run dev
- To test your app, go to Postman. Now your routes will start with:
http://localhost:3001
Auth related npm packages
- bcryptjs
- connect-mongo
- cors
- express-session
- passport
- passport-local
File upload related npm packages
- cloudinary
- multer-storage-cloudinary
- multer