Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carloszoft/balle-challenge-community
https://github.com/carloszoft/balle-challenge-community
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/carloszoft/balle-challenge-community
- Owner: CarlosZoft
- Created: 2022-02-23T04:35:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-20T13:48:37.000Z (about 1 year ago)
- Last Synced: 2024-05-01T18:45:00.077Z (6 months ago)
- Language: TypeScript
- Size: 1000 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Challenge-community
## Routes
### Community
| method | action | router | params |
| ------ | -------- | ------------------ | --------------------------------- |
| post | create | /api/community | |
| get | list all | /api/community | ?enthusiast=boolean?serie=boolean |
| get | list one | /api/community/:id | |
| put | update | /api/community/:id | |
| delete | delete | /api/community/:id | |[body community](./src/interfaces/community.ts)
### Category
| method | action | router |
| ------ | -------- | ----------------- |
| post | create | /api/category |
| get | list all | /api/category |
| get | list one | /api/category/:id |
| put | update | /api/category/:id |
| delete | delete | /api/category/:id |[body category](./src/interfaces/category.ts)
### Serie
| method | action | router |
| ------ | -------- | -------------- |
| post | create | /api/serie |
| get | list all | /api/serie |
| get | list one | /api/serie/:id |
| put | update | /api/serie/:id |
| delete | delete | /api/serie/:id |[body serie](./src/interfaces/serie.ts)
### Enthusiast
| method | action | router |
| ------ | -------- | ------------------- |
| post | create | /api/enthusiast |
| get | list all | /api/enthusiast |
| get | list one | /api/enthusiast/:id |
| put | update | /api/enthusiast/:id |
| delete | delete | /api/enthusiast/:id |[body enthusiast](./src/interfaces/enthusiast.ts)
### Login
| method | action | router |
| ------ | ------- | ------------------ |
| post | login | /api/login |
| delete | logout | /api/login/:token |
| post | refresh | /api/login/refresh |[body login](./src/service/login/interfaces/ICreateLogin.ts)