EventsHandler
A full-stack events manager, built to practise wiring a React/TypeScript client to a Go API and MongoDB.
A deliberate warm-up project before a larger build: an events app exercising
GET, POST and PATCH end to end, to get a feel for how a client talks to a
server and how the server talks to a database.
Client
React, TypeScript, Vite and Bootstrap. Renders a table from
GET /events, and lets you edit an event’s name inline, which fires
PATCH /events/{id}.
Backend
Go with Fiber for routing, Viper for configuration (server port and MongoDB
address, loaded from an env file) and the official MongoDB driver. The service
connects to Mongo on startup and fails fast if it can’t. Routes live in
router.go; events.go handles the event requests and rejects unsupported
methods.