Barebones express API template following the MVC pattern MVC
Prefer yarn
but npm
can be used instead.
To install packages run yarn add ___
and yarn
.
There is a cloudbuild.yaml
to be used in conjunction with cloudbuild
Learn more
Or use any deployment platform that can use Docker.
- Huksy Set Up https://medium.com/angular-in-depth/husky-6-lint-prettier-eslint-and-commitlint-for-javascript-project-d7174d44735a
- Lint Config Generator: https://eslint.org/demo#
- Commit Linting Rules: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
- Make tests be able to run while app is running (current issue: port conflict)
- Run tests before deployment, only deploy if all pass
- Local Docker PostGres SQL container
- Based on production or development flows use different docker files
- https://github.com/winstonjs/winston
- SQL logging currently turned off
- Configurable locally and in production
- Mock database connection (relates to docker)
- Common interface/naming for common controller, dao, service functions.
- interfaces and classes, lower repition.
- Unit testing is not expansive
- E2E testing needs work