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: 6 months ago
JSON representation
Go Shoppy is an eCommerce web application made with Golang using Gin Framework and Postgres as database.
- Host: GitHub
- URL: https://github.com/ris-codes/go-shoppy
- Owner: Ris-Codes
- License: mit
- Created: 2024-07-11T18:19:31.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-15T10:56:16.000Z (almost 2 years ago)
- Last Synced: 2025-02-01T17:44:18.211Z (over 1 year ago)
- Topics: backend, brevo, docker, docker-compose, ecommerce, gin, go, jwt, postgres, razorpay, sql
- Language: Go
- Homepage:
- Size: 9.73 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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