A simple REST API built in GO using the Gin Framework. Including Authentication & SQL Database.
- Install Gin
- Set up First Route & Handling Request
- Set up Event Model
- Register Post Handler
- Add SQL Database
- Refactor Code & Outesource Routes
- Update Events
- Delete Events
- Add "Users" Table to the SQL Database
- Add User Signup
- Hash Passwords
- Create Login Route
- Generate JWT
- Add Token Verification & Route Protection
- Retrieve & Store User and Event ID
- Add an Authentication Middleware
- Add Authorization to Restrict Users from Editing & Deleting
- Register Users
- Cancel Registrations