Basic project for creating monolithic web app using ExpressJS & Express-Handlebars.
$ git clone https://github.com/trotrindonesia/basic-project-express-monolith.git
$ cd basic-project-express-monolith
$ npm install
$ cp .env.example .env
$ npm run dev
You can access from your browser sample of page rendered :
http://localhost:3000/
You can access from your rest client app (postman/insomnia) :
Method : GET
Url : http://localhost:3000/api/
You can access from your browser sample online documentation for rest sevice generated by SwaggerUI :
http://localhost:3000/api-docs/
You can run unit testing with command:
$ npm run test:coverage
You can run lint with command:
$ npm run lint
- View engine with express-handlebars
- Create routes in separate file
- Separating request handler from routes
- SwaggerUI documentation
- Test-Driven Development using Mocha, Chai, Sinon
- NYC package for printing code coverage to html file
https://coveralls.io/github/brothergiez/basic-project-express-monolith?branch=master