A simple programming language manager using React JS + NextJS + TailwindCSS.
This is a project created to apply the docker concepts studied during the FIAP Pós-tech
- shadcn/ui
- prisma
- zod
The image from the project is on docker hub, you can find it running
docker pull samirelhassan/coding-language-manager:latest
To run using docker-compose-yml, create this the file and paste this code:
version: '3'
services:
web:
image: samirelhassan/coding-language-manager:latest
ports:
- "3000:3000"
depends_on:
- db
environment:
- DATABASE_URL=postgresql://prisma:password@db:5432/mydb?schema=public
networks:
- mynetwork
db:
image: postgres:13
ports:
- "5432:5432"
environment:
POSTGRES_USER: prisma
POSTGRES_PASSWORD: password
POSTGRES_DB: mydb
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- mynetwork
volumes:
postgres_data:
networks:
mynetwork:
driver: bridge
Then just run
doccker compose up -d
- Run the docker compose to create the postgres container
yarn install
- Update the schema database
yarn prisma generate && yarn prisma migrate dev
- Run the application
yarn dev