This commit is contained in:
2024-01-25 16:55:50 +01:00
parent 1273706b8c
commit 3817264e6a
+34
View File
@@ -7,6 +7,7 @@ Short description or introduction of your project.
- [About](#about)
- [Features](#features)
- [Installation](#installation)
- [Routes](#routes)
- [License](#license)
- [Creators](#creators)
- [Contact](#contact)
@@ -83,6 +84,39 @@ Run the project using
npm start
```
## Routes
| Method | Path |
|--------|------|
| GET | /logout |
| GET | /register/password |
| POST | /register/ |
| POST | /login/ |
| GET | /user/:username |
| PUT | /user/description |
| PUT | /user/password |
| PUT | /user/username |
| PUT | /user/visibility |
| GET | /user/description/:username |
| GET | /user/visibility |
| GET | /user/activity/:type |
| DELETE | /user/delete |
| POST | /create/ |
| DELETE | /create/:id |
| GET | /post/:id |
| POST | /post/like/:postId |
| POST | /post/comment/:postId |
| POST | /post/comment/:postId/:commentId |
| POST | /post/like/:postId/:commentId |
| POST | /post/save/:postId |
| POST | /post/save/:postId/:commentId |
| POST | /search/:search |
| GET | /home/ |
| GET | /home/trending |
| GET | /home/mostLiked |
| GET | /home/mostCommented |
| GET | /home/mostSaved |
## License
This project is licensed under the [MIT License](LICENSE) - see the [LICENSE](LICENSE) file for details.