This is the main page of the Todo APP.

Created with ❤️ by Niarde.xyz

This is not a real app, it is a demo for a portfolio.

Stack used:

Quick Setup

This project initializes you quickly with FastAPI + Next.js and Better Auth for authentication.

Setup Steps:

  1. Clone this repo
  2. cd to the backend first, then run these commands:
    python -m venv venv || pip install -r requirements.txt    
  3. Run this command to start the backend server:
    uvicorn app:app --reload --port 8080    # Can change to port 8000
  4. cd to frontend, and run npm i to install all dependencies
  5. Run bun dev or npm run dev to start frontend development server

Environment Variables:

.env.local (Frontend):

BASE_URL=http://localhost:8080 DATABASE_URL=postgresql://... BETTER_AUTH_SECRET=... BETTER_AUTH_URL=http://localhost:3000

.env (Backend):

DATABASE_URL=postgresql://... BETTER_AUTH_SECRET=...