mirror of
https://github.com/franjsco/trackmyd-api
synced 2025-02-19 12:50:38 +01:00
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.1 to 3.13.1. - [Release notes](https://github.com/nodeca/js-yaml/releases) - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](https://github.com/nodeca/js-yaml/compare/3.12.1...3.13.1) Signed-off-by: dependabot[bot] <support@github.com>
trackmyd-api
A simple REST API for trackmyd.
Architecture
![](/franjsco/trackmyd-api/media/commit/da02497af6ab1ad726b066b799c080559a377e88/architecture.png)
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) basic authentication into
config.json
. - Configure database (db) into
config.json
. - Start with
npm start
.
Made with ❤️ by Francesco Esposito (@frsposito)
Description
Languages
JavaScript
100%