A full-stack authentication boilerplate with FastAPI backend and SvelteKit frontend.
- Create && activate your venv:
python3 -m venv venv && source venv/bin/activate
- open or
cd
into backend. With the venv active, install dependencies into the venv:pip install -r requirements.txt
- On render.com set up new PostgreSQL database and update
DATABASE_URL
- Get Resend API key from resend.com and add to
RESEND_API_KEY
- Run:
uvicorn backend.main:app --reload --port 8000
- in /frontend rename
env.example
to.env
- Install dependencies:
npm install
- Run:
npm run dev
- Create PostgreSQL database
- Update
DATABASE_URL
in backend.env
file - Tables will be created automatically on first run
- Sign up at resend.com
- Get API key from dashboard
- Add to
RESEND_API_KEY
in backend.env
- Used for email verification and password reset