I wrote this CRUD application without the help of gorilla routers to get some basic knowledge about HTTP work

How to use

  • Clone this repository
  • Create .env file in a root folder:
~/CRUD-BOOKS touch .env
  • Paste next inside created .env file:
DB_HOST= DB_USER="fill with ur DB user"DB_PASSWORD="fill with ur DB password"DB_NAME="fill with ur DB name"DB_PORT=3306 
  • Run code by typing in console:
~/CRUD-BOOKS go run main.go


View Github