Notie Server is a backend REST API build with laravel framework and PostgreSQL database deployed on heroku.
BASE_URL = https://notieserver.herokuapp.com/
"Content-Type": "application/json"
"Accept": "application/json"
"Authorization": "your-issued-token"
POST https://notieserver.herokuapp.com/api/user/register
{
"name": "Your Name",
"email": "example@email.com",
"password": "your_preferred_password"
}
POST https://notieserver.herokuapp.com/api/user/login
{
"email": "your_registered_email@email.com",
"password": "your_password"
}
POST https://notieserver.herokuapp.com/api/user/logout
Authorization: Bearer YOUR_ISSUED_TOKEN
GET https://notieserver.herokuapp.com/api/user
Authorization: Bearer YOUR_ISSUED_TOKEN
To create a note submit a POST request with note title, note_text(description) and Authorization Bearer Token to the follwing endpoint
POST https://notieserver.herokuapp.com/api/note
{
"note_title": "Your note title",
"note_text": "Your note description"
}
PUT https://notieserver.herokuapp.com/api/note/{id}
Authorization: Bearer YOUR_ISSUED_TOKEN
{
"note_title": "Updated note title",
"note_text": "Updated note description"
}
GET https://notieserver.herokuapp.com/api/note
Authorization: Bearer YOUR_ISSUED_TOKEN
GET http://notieserver.herokuapp.com/api/note/{id}
Authorization: Bearer YOUR_ISSUED_TOKEN
DELETE https://notieserver.herokuapp.com/api/note/{id}
Authorization: Bearer YOUR_ISSUED_TOKEN
If you happen find a missing feature or a bug, please feel free to open an issue or pull request