Skip to content

coding-tree-io/gym-bro

Repository files navigation

Gym Appointment Booking System

This is a project built with Chef using Convex as its backend. You can find docs about Chef with useful information like how to deploy to production here.

This project is connected to the Convex deployment named upbeat-squirrel-620.

Project structure

The frontend code is in the app directory and is built with Next.js (App Router).

The backend code is in the convex directory.

npm run dev will start the frontend and backend servers.

Set NEXT_PUBLIC_CONVEX_URL in a .env.local file for the Next.js app to connect to Convex:

NEXT_PUBLIC_CONVEX_URL="https://YOUR-DEPLOYMENT.convex.cloud"

App authentication

Chef apps use Convex Auth with Anonymous auth for easy sign in. You may wish to change this before deploying your app.

Developing and deploying your app

Check out the Convex docs for more information on how to develop with Convex.

HTTP API

User-defined http routes are defined in the convex/router.ts file. We split these routes into a separate file from convex/http.ts to allow us to prevent the LLM from modifying the authentication routes.

Releases

No releases published

Packages

 
 
 

Contributors