Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leonardonicola/drinkify
A NestJS application applying Clean Architecture concepts.
https://github.com/leonardonicola/drinkify
aws clean-architecture commitlint docker husky jest nestjs nginx prisma s3-bucket typescript
Last synced: 28 days ago
JSON representation
A NestJS application applying Clean Architecture concepts.
- Host: GitHub
- URL: https://github.com/leonardonicola/drinkify
- Owner: leonardonicola
- Created: 2023-06-16T03:16:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-14T14:47:12.000Z (about 1 year ago)
- Last Synced: 2023-11-14T15:47:43.370Z (about 1 year ago)
- Topics: aws, clean-architecture, commitlint, docker, husky, jest, nestjs, nginx, prisma, s3-bucket, typescript
- Language: TypeScript
- Homepage:
- Size: 564 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Drinkify
Encontre e crie receitas de drinks!
## Stacks utilizadas
- Nestjs
- Typescript
- Prisma
- AWS
- Jest
- Husky
- Commitlint## Variáveis de Ambiente
Para rodar esse projeto, você vai precisar adicionar as seguintes variáveis de ambiente no seu .env. Também será necessário configurar um bucket do S3 e uma instância EC2.
`DATABASE_URL`
`JWT_SECRET`
`DB_PASSWORD`
`DB_USER`
`DB_NAME`
`AWS_ACCESS_KEY_ID`
`AWS_SECRET_ACCESS_KEY`
`S3_BUCKET`
`AWS_DEFAULT_REGION`
## Rodando localmente
Clone o projeto
```bash
git clone https://github.com/leonardonicola/drinkify
```Entre no diretório do projeto
```bash
cd drinkify
```Instale as dependências
```bash
pnpm install
```Inicie o Postgres, o NGINX e a API com o Docker Compose. Este comando roda pronto para prod junto com as devidas migrations.
```bash
docker compose up -d
```## Autores
- [@leonardonicola](https://www.github.com/leonardonicola)