This is a starter Express JS server-side application. The setup includes:
Project custom configuration like port number to run on, environment and so on.
Postgres used as database
Morgan and Winston logging libraries to log HTTP requests and different level logs. The logger configuration specifies following rules:
Level: silly Transport: console and log file
Level: info Transport: console and Loggly
Combination of ESLint and Prettier libraries installed and configured to forma and analyze code on commit to Git repositry
.gitignore contains files and folders that need to be ignored.
- contains commonly used dependencies
- scripts to run project on dev and production
Initial Dockerfile to run Express JS server-side application.
The project has following folder structure:
/srcfolder contains source files/src/server.jsmain entry point for server/src/middlewarecontains all custom Express middleware./src/routesroutes