books-api

command module
v0.0.0-...-3e9d599 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

README ΒΆ

🌟 Books Store API (Golang + PostgreSQL)

This is a server application built as part of my side project (books web store) to practice Golang language.

🌠 Project status

This project is currently under active development, it means that new features a being backed at meanwhile.

🐾 Project Stack

  • Golang - as main backend development language.
  • GORM - as ORM to create schemas, migrations and connecting to database.
  • Postgres - chosen database to store data.
  • Cloudnary - provides a cloud assets storage.
  • Fiber - go web framework for faster and performant server apps development.
  • Air - for development hot reloading.

πŸ—οΈ Testing and Local Setup

Make sure you have installed Go 1.22.4 or later.

  • Clone this repository:
git clone https://github.com/KainNhantumbo/books-api
  • Then, in the project directory, install the required dependencies:
go mod tidy
  • Install air for hot reloading in development (optional):
go install github.com/air-verse/air@latest
  • Follow the instructions to setup required environment variables described here in your .env file.

  • Finally, you can run the following command in your terminal:

go run main.go

See the list of other available commands in the Makefile. Have fun!

☘️ Find me!

E-mail: nhantumbok@gmail.com
Github: https://github.com/KainNhantumbo
Portfolio: https://codenut-dev.vercel.app
My Blog: https://codenut-dev.vercel.app/blog

If you like this project, let me know by leaving a star on this repository so I can keep improving this app.😊😘

Best regards, Kain Nhantumbo.
βœŒοΈπŸ‡²πŸ‡Ώ Made with ❀ Golang

πŸ“œ License

Licensed under Apache License 2.0. All rights reserved.
Copyright Β© 2024 Kain Nhantumbo.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL