Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 1.95 KB

README.md

File metadata and controls

64 lines (48 loc) · 1.95 KB

Example-Blog-Server


Basic practice blog server written in go for CRUD operation

Getting started

Project requires having Go 1.16 or above and postgreSQL. Once you clone(or go get) you need to configure the following:

  1. Change the DotEnv file according to your envirnment.
  2. Install Task runner go get -u github.com/go-task/task/v3/cmd/task
  3. Install dependence go mod download
  4. task migration for initializing database.
  5. task test for testing project working.
  6. task run to start project.

More About project


To-do

  • Write Database schema
  • Create Database Trigger for like_count(posts), total_post(tags)
  • Connect Database with GO
  • Create Model Function in Golang
  • Refactoring Code
  • Write Unit Test of model
  • Write Mock Test on model
  • Design All API end-points
  • Implement API in REST
    • Implement JWT Authentication
    • Write Authentication Middleware
    • Write proper Error response
  • Write proper documentaion for API endpoints
  • Write Unit Test for API end points
  • Heroku Deployment
  • Write Docker File