CossyCossy / Book-keeping-Golang

A simple project for beginners who want to learn to how to build REST APIs with golang and postgress.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to create Rest APIs using postgres with golang

Thisis a book keeping project

A simple project for beginners who want to learn to create REST APIs golang with postgress.

  • Add, update, delete users.
  • Add, update, delete books.

Installation

If using Linux/WSL:

sudo apt update
sudo apt install postgresql postgresql-contrib

If using macOS:

brew tap homebrew/services
brew install postgresql
initdb /user/local/var/postgres

To start the server

go run main.go

Replace the .env with your own values.


Contributing

Pull requests are always welcome! Feel free to open a new GitHub issue for any changes that can be made.

Author

Cosmas Mbuvi | https://crunchgarage.com

License

MIT

About

A simple project for beginners who want to learn to how to build REST APIs with golang and postgress.


Languages

Language:Go 97.3%Language:Shell 2.7%