Skip to content

This repository is an extension of my semester project, aimed at further improvement. Previous commits is stored in the previous repo for assignment. The goal is to simulate an e-commerce website scenario and train myself to develop comprehensive full-stack implementation skills, including project deployment.

Notifications You must be signed in to change notification settings

csning1998/E-Commerce-Fullstack-2.0

Repository files navigation

E-Commerce-Full-Stack

An implementation of the E-Commerce Web Application Template using Vue3 with Composition API, TypeScript, Express, PostgreSQL and MongoDB.

Introduction


  • This project is my second web application.

Features


Project Structure

  • You may check the documentation in the root folder for further information. English version would be slowly updated due to my high academic load...

Installation


Prerequisites

  • Docker : Use the latest version.
  • You May have basic knowledge on TCP/IP, Port Mapping, and Docker CLI.

Steps

  1. Clone the Repository

    git clone https://github.com/csning1998/e-commerce-full-stack.git
    cd e-commerce-full-stack
  2. Project Setup

    docker compose up
  3. In case you need to hot-install some Node packages, you have to find the container ID.

     docker ps
  4. Then you can execute the following command to enter the container

    docker exec -it {target-node-container-id} sh

    If the indicator of the terminal turns to /application # or similar, you can install the packages using npm install {package-name}.

    You can use the following command th access Postgres database by modifying the following code:

    docker exec -it {container-id} psql -U {POSTGRES_USER} {POSTGRES_DB} 

    then you can type password to access the database.

    For the default setting given in backend/src/models/user.ts and .env-sample files:

    docker exec -it 92b4e6d40b9b psql -U e-commerce-dev e-commerce

About

This repository is an extension of my semester project, aimed at further improvement. Previous commits is stored in the previous repo for assignment. The goal is to simulate an e-commerce website scenario and train myself to develop comprehensive full-stack implementation skills, including project deployment.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published