Giter Club home page Giter Club logo

pandurangpatil / golang-ecommerce-store Goto Github PK

View Code? Open in Web Editor NEW

This project forked from privado-demo/golang-ecommerce-store

0.0 0.0 1.0 143.04 MB

An eCommerce web app using Golang, Gin, and PostgreSQL while following Clean Code Architecture principles. The app utilized Twilio and Razorpay APIs for streamlined payments and SMS notifications. I implemented JWT authentication for secure login and access control. Status :- In-progress

License: Other

Go 96.40% Makefile 1.32% HTML 2.00% Dockerfile 0.28%

golang-ecommerce-store's Introduction

eCommerce-smart_gads

Smart Gads

Smart Gads is an eCommerce web application built using Go Gin, PostgreSQL, and RESTful API architecture. It aims to provide an easy and enjoyable shopping experience for customers, as well as a convenient way for merchants to manage their products and orders.

Features

  1. User authentication: Users can create an account, log in, and update their profile information. Passwords are hashed and salted for security.
  2. Product management: Merchants can add, edit, and delete their products, including images, descriptions, prices, and categories. Customers can browse and search for products, filter by category and price range, and add them to their cart.
  3. Order management: Merchants can view and fulfill orders, mark them as shipped, and update their status. Customers can view their order history and track their shipments.
  4. Payment integration: Customers can securely checkout using Stripe, a popular payment processing service. Orders are automatically created and updated with payment information.
  5. Admin panel: Administrators can manage users, products, orders, and categories. They can also view statistics and generate reports.
  6. API documentation: The RESTful API is well-documented using Swagger, with detailed explanations and examples of each endpoint.
  7. Testing and deployment: The codebase is thoroughly tested using Go's testing framework, and automated with continuous integration and deployment tools like GitHub Actions and Docker.
  8. Makefile: The project includes a Makefile that allows you to easily build and run the application with the make run command. Other commands available include make test for running tests and make clean for cleaning up build artifacts.

Technologies

Go Gin: A lightweight and fast web framework for Go. PostgreSQL: A powerful and open-source relational database. RESTful API: A standard architecture for building web APIs. Swagger: A tool for designing, building, and documenting APIs. GitHub Actions: A tool for automating workflows and continuous integration/deployment.

Getting started

To run the Smart Gads web app locally using the Makefile, you can follow these steps:

  1. Clone the repository and navigate to the project directory.
  2. Set up the database schema by running psql -f db/schema.sql.
  3. Set the required environment variables by creating a .env file (see .env.example for an example).
  4. Start the server by running make run.

You can then access the web app at http://localhost:3000 and the Swagger documentation at http://localhost:3000/swagger/index.html.

golang-ecommerce-store's People

Contributors

noush-012 avatar pandurangpatil avatar

Forkers

ankit-privado

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.