Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jesielviana/aula-express
https://github.com/jesielviana/aula-express
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jesielviana/aula-express
- Owner: jesielviana
- Created: 2024-12-05T11:48:13.000Z (29 days ago)
- Default Branch: main
- Last Pushed: 2024-12-09T10:24:03.000Z (25 days ago)
- Last Synced: 2024-12-09T11:31:12.067Z (25 days ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Aula de Express com Prisma
### Criação do projeto
- ```npm init -y```### Configuração do Express
- ```npm install express```
### Configuração do Prisma
- ```npm install prisma --save-dev```
- ```npx prisma init --datasource-provider postgresql```
- Criar model
- Add url de conexão com banco de dados
- ```npx prisma migrate dev --name init```