GithubHelp home page GithubHelp logo

dawarazhar11 / shopwave-ecommerce-platform Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 7 KB

ShopWave is a modern, user-friendly e-commerce platform designed to provide a seamless online shopping experience. Built with Golang and Angular, ShopWave caters to both small businesses and larger enterprises, offering a robust and scalable solution for setting up an online store.

License: MIT License

Go 90.33% HTML 3.16% TypeScript 6.51%

shopwave-ecommerce-platform's Introduction

E-Commerce Platform

This repository contains the source code for a basic e-commerce platform built using Golang for the backend, Angular for the frontend, and PostgreSQL for the database. The platform allows users to browse products, add items to their cart, and complete the checkout process. It also includes user accounts, order history, and payment integration features.

Table of Contents

Prerequisites

Before you begin, ensure you have the following installed on your local machine:

Installation

Backend

  1. Clone the repository:

git clone https://github.com/yourusername/ecommerce-platform.git

  1. Change to the backend directory:

cd ecommerce-platform/backend

  1. Download the required Go dependencies:

go mod download

  1. Update the main.go file with your PostgreSQL credentials:

go db, err := gorm.Open("postgres", "host=localhost dbname=ecommerce sslmode=disable user=youruser password=yourpassword")"

Replace youruser and yourpassword with your PostgreSQL username and password.

Frontend

  1. Change to the frontend directory:

cd ecommerce-platform/frontend

  1. Install the required npm packages:

npm install

Usage

Running the Backend

  1. Change to the backend directory:

cd ecommerce-platform/backend

  1. Run the backend server:

go run main.go

The backend server will start on http://localhost:8080.

Running the Frontend

  1. Change to the frontend directory:

cd ecommerce-platform/frontend

  1. Run the frontend development server:

ng serve

The frontend server will start on http://localhost:4200.

Disclaimer

Please note that this e-commerce platform is intended for educational and demonstration purposes only. The platform has not been thoroughly tested, and some security features may not be implemented. For production use, consider making the necessary changes and improvements to ensure the application is secure and efficient.

Make sure to replace yourusername with your actual GitHub username or any other namespace that you prefer.

License

This project is licensed under the MIT License.

shopwave-ecommerce-platform's People

Contributors

dawarazhar11 avatar

Watchers

 avatar

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.