- Athaya Harmana Putri (22/492673/TK/53930)
- Nur Rochman (22/493623/TK/54086)
- Farhan Arief Ramadhan (22/497297/TK/54496)
- Muhammad Hifzhon Harundoyo (22/498269/TK/54647)
- Faundra Pratama Sukma (22/505520/TK/55323)
- Athaya Harmana Putri (22/492673/TK/53930) (Setup and Connection)
- Nur Rochman (22/493623/TK/54086) (Models)
- Muhammad Hifzhon Harundoyo (22/498269/TK/54647) (Authentication Routing and Controller)
- Faundra Pratama Sukma (22/505520/TK/55323) (Note Routing and Controller)
- Farhan Arief Ramadhan (22/497297/TK/54496) (Frontend and API Requests)
- Clone the repository
git clone <repository-url>
- Install NPM packages
npm install
- Run the application
npm run start
- Access the API via
http://localhost:3000
HTTP Method | Endpoint | Description |
---|---|---|
POST | http://localhost:3000/auth/create |
sign up with new account. |
POST | http://localhost:3000/auth/signin |
sign in with an existing account. |
POST | http://localhost:3000/note/create |
Create note. |
POST | http://localhost:3000/note/update/:id |
update note. |
POST | http://localhost:3000/user/create |
create user. |
GET | http://localhost:3000/note/all |
Get all notes. |
GET | http://localhost:3000/note/all/:userID |
Get notes by username. |
GET | http://localhost:3000/user/all |
Get all users. |
PUT | http://localhost:3000/user/update/:id |
Update users. |
DELETE | http://localhost:3000/note/delete/:noteID |
Delete Note |
DELETE | http://localhost:3000/user/delete/:username |
Delete User |