train-api
Purpose of this repo is to create sample app to let people train with baseics of golang.
Objective
Step-1: Creating basic API
Create basic API return plain text
Step-2: Adding more endpoints
Add addition endpoint to return HTML
Step-3: Returning JSON from API
Writing code to return JSON from api
Step-4: Parsing query string
Parsing and consuming query string parameters
Step-6: Talking to Database
Connecting and fetching data from database
Step-7: Writing unit tests
Write unit tests to make code bug free before staging
Step-8: Extending web server capabilities
Writing middleware handlers to extend web server capabilities