jaimefps / demo-fullstack-setup

sample prisma, nexus, codegen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo fullstack setup

Small repo to introduce Nexus, Prisma, code-gen, and fullstack type-safety. Includes example integration with Firebase authentication.

Start local development

Make sure you've installed Docker on your machine.

From the root of the project, start the Docker container for the dtb:

$ docker-compose up -d

From the root of the project, this command starts all dev servers in parallel:

$ yarn dev

Development setup is fully functional when the terminal displays:

🟢 Server: http://localhost:4000/

The web client can be opened at:

➜  Local:   http://127.0.0.1:5173/

Stop local development

Cancel the terminal process started above. Note you will lose all data in the dtb if you stop the Docker container; if you wish to do so, run the below command to stop your container.

$ docker-compose down

About

sample prisma, nexus, codegen


Languages

Language:TypeScript 95.1%Language:Shell 1.8%Language:CSS 1.3%Language:HTML 0.9%Language:JavaScript 0.9%