https://github.com/ffmeyer/api-petshop
Avançando com APIs REST - formacao alura
https://github.com/ffmeyer/api-petshop
Last synced: 2 months ago
JSON representation
Avançando com APIs REST - formacao alura
- Host: GitHub
- URL: https://github.com/ffmeyer/api-petshop
- Owner: ffmeyer
- Created: 2022-02-01T21:56:50.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-11T00:39:16.000Z (over 4 years ago)
- Last Synced: 2025-01-25T22:54:06.391Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
npm init
npm install express body-parser sequelize mysql2 config
criando instancia do BD pelo console
mysql -u root -h 127.0.0.1 -p
u = user
h = host
p = password prompt
mysql> create database petshop
show databases;
show tables;
--apos execucao do Sequelize
describe petshop.fornecedores;
npx nodemon index.js
--matar processo windows
npx kill-port 9229
netstat -ano | findstr 9229
taskkill /PID /F