Skip to content

Fido27/Portfolio

Repository files navigation

This is a Next.js project with a FastAPI backend.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Appwrite + FastAPI setup

  1. Create a .env file at the project root with:
# Appwrite (FastAPI)
APPWRITE_ENDPOINT=
APPWRITE_PROJECT=
APPWRITE_API_KEY=
APPWRITE_DATABASE_ID=
APPWRITE_COLLECTION_ID=

# Frontend
NEXT_PUBLIC_API_BASE=http://localhost:8000

Twitch stats page

Add the Twitch Client Credentials flow details to .env.local so the /twitch dashboard can talk to the official API:

TWITCH_CLIENT_ID=
TWITCH_CLIENT_SECRET=
TWITCH_CHANNEL_LOGIN=
  1. Python server (one-time):
python -m venv venv
. venv/bin/activate
pip install -r requirements.txt
  1. Start both servers:
uvicorn app.api.main:app --reload --port 8000
npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published