Skip to content

lberaldodev/node_docker_nginx_mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published