gym-craft

GymCraft

The user enters data through a clear form and GymCraft under the hood configures the AI model accordingly and enriches that data using prompt engineering techniques to produce the best quality results.

Main goal

The project was created mainly to better understand the SvelteKit metaframework and the OpenAI API.

Problems solved

To bypass the Netlify serverless functions 10s timeout when calling external OpenAI API, application uses GymCraft - Proxy - additional Express.js server.

Tech stack

SvelteKit: A modern framework for building fast and high-performance fullstack web applications.

OpenAI GPT-4o: For generating personalized fitness plans.

Node.js: Backend runtime environment.

Vite: Build tool for optimized performance.

Prisma: ORM for communication with the database.

Skeleton: UI library.

Tailwind: Utility-first CSS framework.

Technologies & Tools

  • SvelteKit
  • Svelte
  • OpenAI API
  • Node.js
  • TailwindCSS
  • SkeletonUI