Go to file
dependabot[bot] afcc0ba5ee
Bump hosted-git-info from 2.7.1 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.7.1 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.7.1...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 23:41:25 +00:00
controllers implements status code 404 in index 2019-02-22 10:09:38 +01:00
models remove get function 2019-02-22 10:10:24 +01:00
.eslintrc.json npm/lint init 2019-02-19 18:25:10 +01:00
.gitignore add .gitignore 2019-02-19 18:26:12 +01:00
LICENSE Initial commit 2019-02-12 23:03:53 +01:00
README.md Edit username 2020-03-01 23:39:43 +01:00
apiRoutes.js add add/find query parameters in controller/routes 2019-02-20 09:39:54 +01:00
architecture.png edit readme 2019-03-04 20:31:52 +01:00
config.json add authentication 2019-02-20 12:48:32 +01:00
logger.js add logging 2019-02-20 11:09:57 +01:00
package-lock.json Bump hosted-git-info from 2.7.1 to 2.8.9 2021-05-10 23:41:25 +00:00
package.json Edit username 2020-03-01 23:39:43 +01:00
server.js implements db events 2019-02-22 10:12:24 +01:00

README.md

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

  1. Install NodeJS and NPM.
  2. Install Mongodb.
  3. Clone this repository.
  4. Install dependencies with npm install.
  5. Configure users (app.auth.users) basic authentication into config.json.
  6. Configure database (db) into config.json.
  7. Start with npm start.

Made with ❤️ by Francesco Esposito (@franjsco)