Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peimelo/transactions-typeorm
https://github.com/peimelo/transactions-typeorm
Last synced: about 20 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/peimelo/transactions-typeorm
- Owner: peimelo
- Created: 2020-05-01T16:21:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T02:22:33.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T07:50:22.828Z (7 months ago)
- Language: TypeScript
- Size: 1.71 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go Barber
After clone this repository, install the dependencies:
```
yarn
```Deixe o Docker executando e rode o comando para criar o database `gostack_desafio06`:
```
docker-compose up -d
```---
Rode as migrations:
```
yarn typeorm migration:run
```Se ocorrer o erro:
```
Error during migration run:
QueryFailedError: function uuid_generate_v4() does not exist
```entre dentro na linha de comando do psql do Docker para criar a extensão necessária (senha `docker`):
```
docker exec -it transactions-typeorm_database_1 psql -U postgres -W gostack_desafio06gostack_desafio06=# CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
```
daí rode as migrations novamente.
---
To run the project:
```
yarn dev:server
```Open your browser in `http://localhost:3333`