https://github.com/wladiveras/phoenix-api
RESTful API
https://github.com/wladiveras/phoenix-api
api api-rest boilerplate node-api nodejs nodejs-server typescript
Last synced: 9 months ago
JSON representation
RESTful API
- Host: GitHub
- URL: https://github.com/wladiveras/phoenix-api
- Owner: wladiveras
- Created: 2021-12-28T19:33:53.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-01T13:04:55.000Z (over 3 years ago)
- Last Synced: 2025-02-06T23:41:22.435Z (11 months ago)
- Topics: api, api-rest, boilerplate, node-api, nodejs, nodejs-server, typescript
- Language: TypeScript
- Homepage: https://wladiveras.com
- Size: 599 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Phoenix API Boilerplate // MongoDB // JWT
[](https://wladiveras.com)
[](https://wladiveras.com)\
Node.js REST API com Autenticação para seu projeto.\
\
*Antes de iniciar o projeto renomeio o arquivo default.example.ts para default.ts e configure conforme sua necessidade.*
## Rotas
### > Autenticação
**{POST}** - /auth/login\
**{POST}** - /auth/register\
**{GET}** - /auth/token\
**{POST}** - /auth/logout
#### > Users (CRUD)
**{GET}** - /users/{userID}\
**{GET}** - /users/{userID}/posts\
#### > Posts (CRUD)
**{POST}** - /posts\
**{GET}** - /posts\
**{PATCH}** - /posts/{postID}\
**{GET}** - /posts/{postID}\
**{DELETE}** - /posts/{postID}
## A fazer
- [x] module ::Refresh Token
- [ ] docs :: Finalizar markdown