Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/vinnilmg/rest-api-curso-js


https://github.com/vinnilmg/rest-api-curso-js

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Rest-api-curso-js

ESLINT
```
npx eslint --init
```

Criar arquivo .env na raiz do projeto no seguinte formato:
```
DATABASE=teste
HOST=teste
PORT=teste
DB_USERNAME=teste
DB_PASSWORD=teste

TOKEN_SECRET=teste
TOKEN_EXPIRATION=teste

APP_URL=http://localhost
APP_PORT=3001
```

Pra rodar local:
```
npm run dev
```

Gerar/atualizar pasta dist:
```
npm run build
```