Skip to content

Latest commit

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Prometheus

Minimalist REST Framework built on-top of Express and heavily inspired by SailsJS


Installation

npm i --save @epsidev/prometheus

Usage

  1. Clone the prometheus-scaffold repo and npm install
  2. Config your adapter on the config/connections.js file
  3. Attach your connection in the config/models.js file
  4. Start creating your models in the models folder, for now, follow the SailsJS/Waterline ORM specs
  5. Define your controllers in the controllers folder with a syntax like this:
// TestController.js// Only the files with a name like *Controller.js will be required for loadingmodule.exports={testAction(req,res){// Do something}}
  1. Use the following command to start the server

npm start


TODO

  1. Prometheus Cli
  2. Types of Authentication
  3. Middleware capabilities
  4. MySQL/Postgre Adapter
  5. Docs
  6. ...

About

Minimalist REST API Framework

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages