An online, state persistant, journal web application. Provide a heading, body, place, and mood rating to keep track of your daily life. Provide an email to sign up and keep track of your entries.
Log
Attributes:
- heading (string)
- rating (integer)
- entry (string)
- date (string)
- place (string)
Users
Attributes:
- f_name (string)
- l_name (string)
- email (string)
- password (string)
CREATE TABLE logs(
id INTEGER PRIMARY KEY,
heading TEXT,
date TEXT,
entry TEXT,
rating INTEGER,
place TEXT);
CREATE TABLE users(
id INTEGER PRIMARY KEY,
f_name TEXT,
l_name TEXT,
email TEXT,
password TEXT);
Name | Method | Path |
---|---|---|
Retrieve log collection | GET | /logs |
Retrieve log member | GET | /logs/<id> |
Create session member | POST | /sessions |
Create log member | POST | /logs |
Create user member | POST | /users |
Update log member | PUT | /logs/<id> |
Delete log member | DELETE | /logs/<id> |
- bcrypt