https://github.com/fityannugroho/notes-app-back-end
API for notes app dicoding
https://github.com/fityannugroho/notes-app-back-end
api hapijs jwt postgresql
Last synced: 2 months ago
JSON representation
API for notes app dicoding
- Host: GitHub
- URL: https://github.com/fityannugroho/notes-app-back-end
- Owner: fityannugroho
- Created: 2022-07-04T07:31:29.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-10T22:57:39.000Z (over 1 year ago)
- Last Synced: 2025-04-05T15:14:07.705Z (about 1 year ago)
- Topics: api, hapijs, jwt, postgresql
- Language: JavaScript
- Homepage: http://notesapp-v3.dicodingacademy.com/
- Size: 613 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Notes API
API for [Notes App Dicoding](http://notesapp-v2.dicodingacademy.com).
## Data
This API will store data that has attributes like the following:
### User
The user has the following attributes:
```json
{
"id": "string",
"username": "string",
"password": "string",
"fullname": "string"
}
```
This is an example of a user:
```json
{
"id": "user-Zm_sAf2i8sTGKWSX",
"username": "johndoe",
"password": "secret",
"fullname": "John Doe"
}
```
### Note
The note has the following attributes:
```json
{
"id": "string",
"title": "string",
"body": "string",
"tags": ["string"],
"created_at": "string",
"updated_at": "string"
"owner": "string"
}
```
This is an example of the note:
```json
{
"id": "oVwum-U5h_6CoZ-f",
"title": "Hello World",
"body": "This is my first note",
"tags": ["hello", "world"],
"created_at": "2020-01-01T00:00:00.000Z",
"updated_at": "2020-01-01T00:00:00.000Z",
"owner": "user-Zm_sAf2i8sTGKWSX"
}
```