Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/augustoscher/todo-api

Node.js API with mongoDB for todo-app React frontend project
https://github.com/augustoscher/todo-api

express mongodb mongoose nodejs nodemon pm2

Last synced: 1 day ago
JSON representation

Node.js API with mongoDB for todo-app React frontend project

Awesome Lists containing this project

README

        

# todo-api
Node.js API with mongoDB for todo-app React frontend project

##### Pré-requisitos:
- Node.js e npm devem estar instalados.
- Postman deve estar instaldo. (para execução de testes)


### Setting Up
----

##### 1. Clonar repositório
> git clone [email protected]:augustoscher/todo-api.git

##### 2. Acessar repositório
> cd todo-api

##### 3. Instalar dependências
> sudo npm i

##### 4. Iniciar aplicação
a) Development(nodemon):
> sudo npm run dev

b) production(pm2):
> sudo npm run production

##### 5. Testar API
> http://localhost:3003/api/todos?sort=createdAt