Have you been wanting to build a simple API in Golang, but don't know where to start? Look no further than this tutorial, where I'll guide you through the process step by step.
- Run the Golang API on your Computer
- Run the Golang API with a Frontend App
- Setup the Golang Project
- Create the GORM Database Model
- Connect to the SQLite Database
- Implement the CRUD Fiber Functions
- Route Controller to Add New Records
- Route Controller to Fetch All Records
- Route Controller to Update a Records
- Route Controller to Retrieve a Record
- Route Controller to Delete a Records
- The Complete Code of the Fiber Route Controllers
- Setup CORS and Create the Fiber Routes
- Conclusion
Read the entire article here: https://codevoweb.com/build-a-simple-api-in-golang-using-fiber-and-sqlite/