Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vinnilmg/rest-api-curso-js
https://github.com/vinnilmg/rest-api-curso-js
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/vinnilmg/rest-api-curso-js
- Owner: vinnilmg
- Created: 2022-05-10T23:52:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-07T23:44:26.000Z (over 2 years ago)
- Last Synced: 2023-04-12T02:35:31.066Z (over 1 year ago)
- Language: JavaScript
- Size: 649 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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=testeTOKEN_SECRET=teste
TOKEN_EXPIRATION=testeAPP_URL=http://localhost
APP_PORT=3001
```Pra rodar local:
```
npm run dev
```Gerar/atualizar pasta dist:
```
npm run build
```