Skip to content

DigiventuresFintech/node-base-server-without-db-2

 
 

Repository files navigation

Example Productive API Rest

  • Local enviroment: npm run local or npm run local-win (for windows)
  • Development enviroment: npm run dev
  • Production enviroment: npm start

Depending on the command is how the configuration parameters will be taken in config.js

Postman: https://www.getpostman.com/collections/1f3446cb2a28ca628061

Features:

  • Docker+Docker-compose
  • CircleCI
  • MongoDB+Mongoose
  • Redis
  • S3
  • Loggly
  • utilities + dynamic configuration
  • Fully working example of API Rest

Query params:

  • ?firstname=example&lastname=example&etc...

Select params:

  • select=firstname,lastname name (returns only firstname and lastname)
  • select=-firstname (returns all except firstname)

Pagination params:

  • limit=10 (limits 10 results)
  • skip=10 (skips 10 results)

All others parameters are used by the mongodb query.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.0%
  • Shell 6.2%
  • Dockerfile 2.8%