A Dockerized Node-Express starter project that includes authentication, authorization, file upload, user management and role management.
cp .env.example .env
docker-compose build
docker-compose up
npm i -g nodemon
npm install
nodemon bin/www
npm run test
npm run seed
POST /api/login
GET /api/roles
POST /api/users
GET /api/users
GET /api/users/:id
PUT /api/users/:id
DELETE /api/users/:id
POST /api/file-upload
GET /api/file-upload/:id
DELETE /api/file-upload/:id
- Passport
- passport-jwt
- passport-local
- jsonwebtokens
- mongoose
- multer
- loadash
- bcrypt
- joi
- faker
- dotenv