Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1.53 KB

README.md

File metadata and controls

59 lines (40 loc) · 1.53 KB

Nodejs, Typescript, Mysql, PrismaORM, Clean Architecture, Docker - Application -

Version Documentation License: ISC

Simple nodejs example with typescript, mysql, typeorm and clean architecture, using docker with docker-compose to build the containers, nginx to proxy redirect (by default port 3000 to 8080).

Setup the .env in root folder (check the .env.example)

.env

Build the containers

docker-compose up --build -d

After all containers running execute the migration to create the first table

cd server/
npx prisma migrate dev --schema=./src/infra/database/prisma/schema.prisma

Open your browser

http://localhost:8080

List all registers in database

http://localhost:8080/v1/peoples

Author

👤 Lucas da Silva Beraldo

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator