Backend
Go Event Booking API
RESTful backend with Go & Gin
2024 6 technologies
Overview
A RESTful event-management API built with Go, Gin, and SQLite, featuring JWT authentication, bcrypt password hashing, and a modular architecture separating routes, models, and middleware.
Tech stack
GoGinSQLiteJWT AuthbcryptREST API
Key features
- JWT authentication and bcrypt password hashing
- Protected routes for user and event management
- Full CRUD for events and registrations
- Input validation and prepared statements against SQL injection
- Modular architecture with user-scoped ownership and many-to-many relations
Security considerations
- Prepared statements and input validation throughout
- Per-user ownership checks on protected routes