This repository contains the starter code for the ESDE NextJS Workshop.
- Clone this repository
- Build and start the docker containers
npm run docker:up
ordocker-compose up -d
- Apply all db schema changes
npm run docker:exec npm run db:push
ordocker-compose exec esde-workshop-next npm run db:push
- (Optional) Attach to the container to see logs
npm run docker:logs
ordocker-compose logs -f esde-workshop-next
- Open your browser on
http://localhost:3040
- Install
Dev Containers
extension - Reload VSCode (CMD/CTRL + SHIFT + P ->
Developer: Reload Window
) - CMD/CTRL + SHIFT + P ->
Dev Containers: Attach to Running Container...
- Choose path
/usr/src/app
and press enter
If you want to restart the container, run docker-compose restart esde-workshop-next
- NextJS Documentation
- tRPC Documentation
- Drizzle ORM Documentation
- T3 Stack documetation - Using a stack similar to this workshop. Check it out if you want to get started building a web app with these technologies.