No description
  • TypeScript 96.4%
  • CSS 3.3%
  • JavaScript 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-05-21 00:11:14 +04:00
assets add basic readme 2024-05-20 07:50:26 +04:00
public UI changes 2024-05-19 17:59:28 +04:00
src added email and user manual input option to the frontend 2024-05-21 00:11:14 +04:00
.env.example add basic readme 2024-05-20 07:50:26 +04:00
.gitignore Add .env to .gitignore 2024-05-20 13:57:07 +04:00
bun.lockb added email and user manual input option to the frontend 2024-05-21 00:10:17 +04:00
cambai-api-feedback.md testing pocketbase auth 2024-05-15 09:05:09 +04:00
components.json adds shadcn 2024-05-15 11:11:38 +04:00
next.config.mjs Initial commit from Create Next App 2024-05-11 13:16:13 +04:00
package.json basic implementation 2024-05-18 00:46:34 +04:00
postcss.config.mjs Initial commit from Create Next App 2024-05-11 13:16:13 +04:00
README.md Update README.md 2024-05-19 21:58:36 -07:00
tailwind.config.ts adds shadcn 2024-05-15 11:11:38 +04:00
tsconfig.json zustand and shadcn 2024-05-17 02:33:26 +04:00

CAMB.AI x GPEC Hackathon

System architecture

Note

This repository is the frontend of the project. The backend is implemented in go using pocketbase as a framework and extending it. Link to Backend

Steps to setup the Next.js Frontend

Pre-requisites/setup

  • Have a package manager for node installed, in my case I perfer bun so the following steps will use bun.
  • Get an API key from the camb.ai dashboard (https://studio.camb.ai). And set the environment variable CAMB_API_KEY appropriately (e.g. .env file here)
  • Set the NEXT_PUBLIC_PB_URL env variable with the base URL for the hosted pocketbase endpoint. If developing locally, set it to http://localhost:8090.

Running

  • Install the dependencies using bun install or the equivalent command of the package manager of choice.
  • Run the frontend using bun run dev or the equivalent command of the package manager of choice.

Warning

Docs for setting up the backend are WIP ⚠️