Skip to content

gmarokov/node-fastify-mongo-api

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

node-fastify-mongo-api

Node.js Restful API starter template with TypeScript, Fastify, MongoDB, Jest and Swagger.

Build Status Coverage Status

Requirements

  1. Node.js >= 10
  2. Docker

Getting started

  1. Install packages:
    npm install
  2. Run project:
    npm run start:dev
  3. Run ESLint with Prettier for static analysis and applying consistent code formatting:
    npm run lint

Testing

Using Jest for endpoint integration testing and swapping MongoDB with in memory Mongo server. Code coverage report generated and consumed by Coveralls.

  1. Run tests with coverage:
    npm test

Documentation

Using Swagger for the endpoints documentation. Swagger UI available at http://localhost:3000/docs.
Additional Postman collection attached to repository.

About

Node.js Restful API starter template

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published