Skip to content

ericmaya8a/astro-auth-example

Repository files navigation

Astro Auth Example

This is a Auth example with prisma and postgres using Astro

🛠️ Stack

Getting Started

  1. Install docker desktop
  2. Install dependencies:
yarn install
  1. Set your environment variables (example in .env.example file)

  2. Start postgres container, seed data and run development server:

yarn dev:up
  1. Open http://localhost:4321 with your browser.

🧞 Commands

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

About

A simple Auth example with Astro, Prisma and Postgres

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published