https://github.com/hmarzban/xarboilerplate
nodejs expressjs boilerplate
https://github.com/hmarzban/xarboilerplate
e2e-tests expressjs jest nodejs-mongodb nodejs-server
Last synced: 3 months ago
JSON representation
nodejs expressjs boilerplate
- Host: GitHub
- URL: https://github.com/hmarzban/xarboilerplate
- Owner: HMarzban
- License: mit
- Created: 2020-06-15T07:35:46.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T02:55:35.000Z (over 2 years ago)
- Last Synced: 2025-01-29T12:28:19.470Z (5 months ago)
- Topics: e2e-tests, expressjs, jest, nodejs-mongodb, nodejs-server
- Language: HTML
- Size: 3.19 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
# xarboilerplate
NodeJs Expressjs boilerplate# scripts
```bash
yarn start # nodemon ./app/server.js
yarn start:pm2 # pm2 start ./scripts/pm2.config.js --only backend-local
yarn test:e2e # jest -c ./jest.config.e2e.js
yarn test:e2e:coverage # jest -c ./jest.config.e2e.js --coverage
yarn test:intg # jest \\.intg.test.js$ --testTimeout=20000
yarn lint # prettier-standard --lint **/*.js
yarn pretty # prettier --write **/*.jsyarn build:prod # docker build -t bolit -f ./scripts/production.Dockerfile .
yarn build:prod:up # docker-compose -f ./scripts/docker-compose.yml up
yarn build:prod:down # docker-compose -f ./scripts/docker-compose.yml down```
## Tried to use these best methods
- [Node.js Best Practices](https://github.com/goldbergyoni/nodebestpractices)
- [javascript testing best practices](https://github.com/goldbergyoni/javascript-testing-best-practices/)Feel free to fork it and/or contribute if you’d like :)
[](https://github.com/standard/standard)