837 B
837 B
trackmyd-api
Simple REST API for trackmyd project
Architecture
Paths & Operations
Path | Operation | Description |
---|---|---|
/devices | GET | Get devices |
/devices | POST | Add new device |
/devices?id= | GET | Get single device |
/devices?id= | PATCH | Update device |
/device?id= | DELETE | Delete device |
/device?name= | GET | Get single device |
Installation
Step by step
- Install NodeJS and NPM.
- Install Mongodb.
- Clone this repository.
- Install dependencies with
npm install
. - Configure users (app.auth.users) into
config.json
. - Configure database (db) into
config.json
. - Start with
npm start
.
Made with ❤️ by Francesco Esposito (@frab1t)