This is a Auth example with prisma and postgres using Astro
- Install
docker desktop - Install dependencies:
yarn install-
Set your environment variables (example in
.env.examplefile) -
Start postgres container, seed data and run development server:
yarn dev:up- Open http://localhost:4321 with your browser.
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
yarn install |
Installs dependencies |
yarn run dev:up |
Start a postgres db with seed data and starts local dev server at localhost:4321 |
yarn run dev |
Starts local dev server at localhost:4321 |
yarn run dev:down |
Stop local dev server and remove postgres db |
