https://github.com/dieg0code/todo-api
test
https://github.com/dieg0code/todo-api
Last synced: 5 months ago
JSON representation
test
- Host: GitHub
- URL: https://github.com/dieg0code/todo-api
- Owner: Dieg0Code
- Created: 2022-03-09T06:41:02.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-09T07:21:25.000Z (almost 4 years ago)
- Last Synced: 2025-03-02T03:42:36.338Z (11 months ago)
- Language: JavaScript
- Size: 41 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Todo list API
La API está hecha con NodeJS, Express y MongoDB.
Corre en el Puerto `5000`.
Para ejecutar una base de datos local, ejecutar el siguiente comando:
```
make run_mongodb
```
o
```
docker run --name mongo -p 27017:27017 -d mongo mongod
```
Las rutas disponibles son:
```
/api/todos
/api/users
```
Ejemplo de uso:
```
[POST] http://localhost:5000/api/todos
```
json:
```json
{
"name": "test",
"completed": true,
"description": "todo de prueba"
}
```
Recomiendo hachar un ojo al ``Makefile`` para ver los comandos que se pueden ejecutar.
🤗🤗