https://github.com/webscopeio/ai-hackathon
TestBuddy
https://github.com/webscopeio/ai-hackathon
Last synced: 3 months ago
JSON representation
TestBuddy
- Host: GitHub
- URL: https://github.com/webscopeio/ai-hackathon
- Owner: webscopeio
- Created: 2025-04-03T15:59:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-22T23:29:36.000Z (about 1 year ago)
- Last Synced: 2025-04-23T00:20:32.192Z (about 1 year ago)
- Language: Go
- Size: 223 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AI Hackathon
Full-stack demo application with Next frontend and Go backend.
## Tech Stack
- **Frontend**: Next with React Query, Zod, and Shadcn UI
- **Backend**: Go with Chi router
## Getting Started
```bash
# Run only backend with hot reload
make dev/server
# Run only frontend
make dev/app
# Run both frontend and backend
make dev
```
## API Integration
Frontend uses typed API client (`lib/api.ts`) with React Query integration for data fetching:
```typescript
// Query example
const { data } = useQuery(api.getPosts);
// Mutation example
const mutation = useMutation({
mutationFn: api.greet,
onSuccess: (data) => toast.success(data.message),
});
```
> [!WARNING]
> Endpoints are manually typed between Go backend and TypeScript frontend.