Skip to content

Commit

Permalink
Update README and app.env file
Browse files Browse the repository at this point in the history
  • Loading branch information
Delavalom authored Oct 15, 2023
1 parent 1464ff9 commit 02ce251
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,25 @@ La primera infraestructura bancaria open-source de la Republica Dominicana.

Este proyecto es una iniciativa para tener un standard de desarrollo, construir interoperabilidad e impulsar la tecnología bancaria en la Republica Dominicana.

### Como generar codigo

- Genera un SQL CRUD con sqlc:

```bash
make sqlc
```

- Genera un mock de la Base de datos con gomock:

```bash
make mock
```

- Crea una nueva migration:

```bash
migrate create -ext sql -dir db/migrations -seq <migration_name>
```

## Contribution
Contribuye al desarrollo de este proyecto abriendo una pull request o reportando un issue.
3 changes: 2 additions & 1 deletion app.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
DB_SOURCE=postgresql://root:secret@localhost:5432/rdb?sslmode=disable
TOKEN_SYMMETRIC_KEY=12345678901234567890123456789012
ACCESS_TOKEN_DURATION=15m
ACCESS_TOKEN_DURATION=15m
REFRESH_TOKEN_DURATION=24h

0 comments on commit 02ce251

Please sign in to comment.