No description
- TypeScript 96.4%
- CSS 3.3%
- JavaScript 0.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| assets | ||
| public | ||
| src | ||
| .env.example | ||
| .gitignore | ||
| bun.lockb | ||
| cambai-api-feedback.md | ||
| components.json | ||
| next.config.mjs | ||
| package.json | ||
| postcss.config.mjs | ||
| README.md | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
CAMB.AI x GPEC Hackathon
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
bunso 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_KEYappropriately (e.g..envfile here) - Set the
NEXT_PUBLIC_PB_URLenv variable with the base URL for the hosted pocketbase endpoint. If developing locally, set it tohttp://localhost:8090.
Running
- Install the dependencies using
bun installor the equivalent command of the package manager of choice. - Run the frontend using
bun run devor the equivalent command of the package manager of choice.
Warning
Docs for setting up the backend are WIP ⚠️