Add server demo link
This commit is contained in:
parent
0c70ee8771
commit
7bddb9a54e
@ -16,12 +16,15 @@ Sleep Tracker is intended for anyone interested in improving their sleep and hea
|
||||
- Make recommendations not only based on sleep time, but also on bed time (some reasearch will need to be done in that area)
|
||||
- Connect to third party sleep tracking services
|
||||
|
||||
> Server demo: https://sleep-tracker-rui.herokuapp.com/
|
||||
|
||||
## API Documentation
|
||||
___
|
||||
> Values required in **`bold`**.
|
||||
|
||||
> All requests need to provide with a JSON Web Token for authentication, except for **`/api/auth/register`** and **`/api/auth/login`**.
|
||||
|
||||
|
||||
### USERS SCHEMA | **`users`**
|
||||
| field | data type | metadata |
|
||||
| :--------| :---------------- | :-------------------------------------------------- |
|
||||
|
3
index.js
3
index.js
@ -3,7 +3,8 @@ const server = require("./api/server");
|
||||
|
||||
server.get("/", (req, res) => {
|
||||
res.json({
|
||||
message: `API server for Sleep Tracker running. :)`
|
||||
message: `API server for Sleep Tracker up and running. :)`,
|
||||
documentation: `https://github.com/ruihildt/sleep-tracker-backend#api-documentation`
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user