Minimalist REST Framework built on-top of Express and heavily inspired by SailsJS
Installation
npm i --save @epsidev/prometheus
Usage
- Clone the prometheus-scaffold repo and npm install
- Config your adapter on the config/connections.js file
- Attach your connection in the config/models.js file
- Start creating your models in the models folder, for now, follow the SailsJS/Waterline ORM specs
- 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}}- Use the following command to start the server
npm start
TODO
- Prometheus Cli
- Types of Authentication
- Middleware capabilities
- MySQL/Postgre Adapter
- Docs
- ...