Skip to content

Crafted with the Gin Framework, this minimalist bookstore application offers streamlined functionality.

Notifications You must be signed in to change notification settings

mukulmantosh/go-gin-bookstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BookStore

A simplistic bookstore application built using the Gin Framework.

terminal

Prerequisites

Before initiating this project, ensure that you have installed all the required dependencies on your machine.

Software Installation

  • Go - Go is an open source programming language that makes it simple to build secure, scalable systems.
  • Docker - Docker helps developers bring their ideas to life by conquering the complexity of app development.
  • PostgreSQL - The World's Most Advanced Open Source Relational Database
  • AWS CLI - The AWS Command Line Interface (CLI) is a unified tool to manage AWS services directly from the command line.

For running Postgres locally using Docker, run the following command:

docker run --name bookstore -p 5432:5432 -e POSTGRES_PASSWORD=******** -d postgres

Execute in Postgres DB Shell

create database bookstore;

Environment Variables

Before initiating the application, ensure that you have configured the required environment variables.

- DB_HOST
- DB_USERNAME
- DB_PASSWORD
- DB_NAME
- DB_PORT
- S3_BUCKET

We will access AWS resources such as Amazon S3. Therefore, ensure you configure your AWS CLI with both the AWS Access Key ID and Secret Access Key.

Application Startup

Running App

go run main.go

Blog

Want to follow step by step, follow this tutorial: REST API Development with Gin

About

Crafted with the Gin Framework, this minimalist bookstore application offers streamlined functionality.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages