https://github.com/varejaodacarne/vanilla_node_api_rest
Full CRUD REST API using Nodejs with no framework
https://github.com/varejaodacarne/vanilla_node_api_rest
crud javascript nodejs rest-api
Last synced: about 2 months ago
JSON representation
Full CRUD REST API using Nodejs with no framework
- Host: GitHub
- URL: https://github.com/varejaodacarne/vanilla_node_api_rest
- Owner: VarejaoDaCarne
- License: mit
- Created: 2020-10-18T16:11:39.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-11-10T02:27:48.000Z (over 3 years ago)
- Last Synced: 2025-01-09T19:55:49.016Z (over 1 year ago)
- Topics: crud, javascript, nodejs, rest-api
- Language: JavaScript
- Homepage:
- Size: 113 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vanilla Node REST API
Isto é para motivos de aprendizagem/prática. Na maioria dos casos, você vai querer usar algo como o framework Express em seus projetos.
Tutorial seguido: Vanilla Node.js REST API | No Framework.
## Como Usar
### Rotas
```
GET /api/products
POST /api/products
GET /api/products/:id
PUT /api/products/:id
DELETE /api/products/:id
```
### Iniciar
```
# Instalar dependências
yarn
# Rodar em desenvolvimento
yarn dev
# Rodar em produção
yarn start
```