This is a basic implementation of an API using Go. It provides the ability to handle simple blog actions. This API is meant to be as lightweight as possible. The biggest external package that is uses is gorilla/mux.
Rendering templates from Go could have been done for this project. I decided to not do that so I can get the experience of doing this with vanilla Javascript.
git clone git@github.com:nicholasrucci/blog.git
cd blog
go build
./blogGET /api/posts
GET /api/posts/:id
POST /api/posts
PUT /api/posts/:id
DELETE /api/posts/:id- CRUD
- Database functionality
- Grab data from API
- Hook up views
- Clean up server side code
- Structure server side code
- Add more error handling
- Authentication
- 404 pages
- Restrict access to admin pages