An API (REST architecture) to track and save your night adventures.
This project was made for fun.
We do not condone excessive drinking.
Things you can track and save for your nights:
- Drunkness levels (0-5)
- Where or not you did the dirty(coitus)
- A brief description of your night
- Where you drove or not
- What was your location
- Whether you texted your ex-girlfriend/boyfriend
Note: if running postgres from docker don't edit DATABASE_URL
.
diesel setup
diesel migrations generate
- Register with a user
- Login with the user (to get the head token for authorization)
- Make your entry
{
"password": "string",
"username": "string"
}
{
"password": "string",
"username": "string"
}
This returns the authorization token to be used for every "night" activity (create, delete etc.)
{
"coitus": true,
"description": "string",
"drive": true,
"drunkness": "Cool",
"location": "string",
"talked_2x": true,
"user_id": 0
}
More features are to be added soon. Contact us if you have an idea to be added or any kind of feedback