Skip to content

tamnk74/expressjs_mongodb_boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express js boilerplate with mongodb redis

A sample nodejs project using express and mongo database to help you start your project

Start app with docker

docker-compose up -d

Without docker

npm start

Restart app

docker-compose restart node-app

Show log

docker-compose logs -f node-app

Access node app and run seeder

docker-compose exec node-app bash

docker-compose exec redis redis-cli

docker exec -it redis /bin/sh

Build app

npm run build

Run seeder

npm run seed

Check eslint & prettier

npm run lint

npm run prettier

Run test

npm test

Run cli

npm link

app-cli