This is a full-stack web app I made for my Computer Science IA as part of the International Baccalaureate Diploma Program.
I used to host it at pt-app.pages.dev but I've now archived it
Svelte - JavaScript framework
Typescript
Cloudflare Pages and Cloudflare D1
Drizzle - typesafe ORM that lets me safely query the database
Lucia - authentication
4 million libraries that are now all outdated and deprecated because web development ya know?
Using Docker
docker build -t pt-app
docker run -p 3000:3000 pt-app
# Open `localhost:3000` in your browser
Manual build
npm install --legacy-peer-deps
npm run build
npx drizzle-kit generate && npx drizzle-kit migrate
npm run preview
# Open `localhost:4173` in your browser
User | Password | |
---|---|---|
Trainer | arnie@gmail.com | uTkOK5#4o3Xmp8 |
Client | alexkammin@outlook.com | JTw*DtS4rFsI1* |
To sign up as a new client:
12 billion config files
src
lib
components
server - cannot be used by the client
utils
routes - files that make the actual web pages
entry - signup and login
main - only accessible once signed in
static