Skip to content
Public template

About

Node.js API Skeleton

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

58 Commits

Folders and files

Repository files navigation

Small node.js Api Skeleton with basic authentication and user registration. Uses Postgresql.

Uses ES6 Modules, add --experimental-modules and --experimental-json-modules to package.json

Folders:

src
│   app.js          # App entry point
└───api             # Express route controllers for all the endpoints of the app
└───config          # Environment variables and configuration related stuff
└───loaders         # Split the startup process into modules
└───models          # Database models
└───services        # All the business logic is here
└───subscribers     # Event handlers for async task

Used some ideas from https://github.com/santiq/bulletproof-nodejs

Warning: Don't use out of the box. Review carefully. Also some stuff ist not finished yet!

About

Node.js API Skeleton

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages