mirror of
https://github.com/franjsco/trackmyd-api
synced 2025-06-06 00:29:14 +02:00
768bcfd4d107ba0c934d937b1eb14708f27f9833
Bumps [bson](https://github.com/mongodb/js-bson) from 1.1.1 to 1.1.6. - [Release notes](https://github.com/mongodb/js-bson/releases) - [Changelog](https://github.com/mongodb/js-bson/blob/v1.1.6/HISTORY.md) - [Commits](https://github.com/mongodb/js-bson/commits/v1.1.6) Signed-off-by: dependabot[bot] <support@github.com>
trackmyd-api
A simple REST API for trackmyd.
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) basic authentication into
config.json
. - Configure database (db) into
config.json
. - Start with
npm start
.
Made with ❤️ by Francesco Esposito (@franjsco)
Description
Languages
JavaScript
100%