Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ris-codes/go-shoppy

Go Shoppy is an eCommerce web application made with Golang using Gin Framework and Postgres as database.
https://github.com/ris-codes/go-shoppy

backend brevo docker docker-compose ecommerce gin go jwt postgres razorpay sql

Last synced: 19 days ago
JSON representation

Go Shoppy is an eCommerce web application made with Golang using Gin Framework and Postgres as database.

Awesome Lists containing this project

README

        

# Go Shoppy - eCommerce Application
This is an eCommerce Web Application Created using Golang as Backend using Gin Framework and PostgreSQL as Database to manage the data.
## Framework Used
Gin-Gonic: This project is built using Gin framework. Its is a popular http web framework.
#### go get -u github.com/gin-gonic/gin

## Database used:
PostgreSQL: PostgreSQL is a powerful, open source object-relational database. The data managment in this project is done using PostgreSQL. Raw sql queries are passed with the functions without the help of any ORMs.

```go
import (
"database/sql"
_ "github.com/lib/pq"
)
```

## Templates
HTML Templates are used to render the data and pass the data from and to the database. Simple eCommerce frontent is provided in the `templates` directory

## External Packages Used
#### Razorpay
For Payment I have used the test case of Razorpay.
#### github.com/razorpay/razorpay-go

#### Gomail
Gomail is a simple and efficient package to send emails. It is well tested and documented.
#### gopkg.in/mail.v2

#### JWT
JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.
#### github.com/golang-jwt/jwt/v4

#### Commands to run project:
#### go run main.go