Skip to content

Transforming UMKM Operations through Digital Strategies at Warung Omega Online Restaurant (Deploy on Heroku Soons!)

License

Notifications You must be signed in to change notification settings

roniantoniius/Warung-Omega-Ecommerce

Repository files navigation

Warung Omega

Scope

Warung Omega is an e-commerce website designed to facilitate buying of seafood products by consumers without the involvement of businesses and hidden costs. The functions that a user will be able to perform in this platform are:

  • Browse through the database of available product on different category.
  • View Product dashboard
  • Choose as much seafood product as you can
  • Payment using debit/credit card View receipt details Wait for the seafood products to get delivered

Problem

Warung Omega, a local seafood restaurant, seeks to expand its customer base and increase revenue by transitioning to a digital platform. The restaurant currently operates solely as a brick-and-mortar establishment, limiting its reach to local customers. The primary challenge lies in developing an e-commerce website that effectively showcases the restaurant's diverse seafood offerings, facilitates seamless online ordering and payment processes, and ensures timely and reliable delivery. Additionally, the website must be user-friendly and visually appealing to attract a wider customer base.

Technology Used:

  • FastAPI
  • Jinja
  • Postgre
  • Supabase
  • RestAPI
  • Tortoise, ORM
  • Midtrans Payment Gateway
  • Oauth
  • Heroku

How to run this code?

A. Local

  1. Clone this repo
git clone https://github.com/roniantoniius/Warung-Omega-Ecommerce.git
  1. Make your virtual environment
python -m venv env
  1. Run your virtual environment and select interpreter
.\env\Scripts\activate
  1. Go to app directory
cd app
  1. Install requirements
pip install -r requirements.txt
  1. Configure and make your own .env file
YOUR_OWN_EMAIL
YOUR_OWN_PASS
YOUR_OWN_SECRET
YOUR_OWN_MIDTRANS_SERVER_KEY
YOUR_OWN_MIDTRANS_CLIENT_KEY
YOUR_OWN_DB_USERNAME
YOUR_OWN_DB_PASSWORD
YOUR_OWN_DB_NAME
  1. Run your app
uvicorn main:app --reload

B. Docker

  1. Clone this repo

    git clone https://github.com/roniantonius/Warung-Omega-Ecommerce.git
  2. Build the Docker image

    docker build -t warungomega:latest .
  3. Run the Docker container

    docker run -d -p 8000:8000 warungomega:latest
  4. Access the application Open a browser and go to http://localhost:8000 to see the running FastAPI application.

  5. (Optional) Push the image to Docker Hub
    If you want to deploy this on a Kubernetes cluster, you’ll need to push the image to a container registry (e.g., Docker Hub).

    docker tag warungomega:latest roniantonius/warungomega:latest
    docker push roniantonius/warungomega:latest

C. Kubernetes Deployment

To deploy the application on a Kubernetes cluster:

  1. Apply the deployment configuration:

    kubectl apply -f deployment.yaml
  2. Apply the service configuration:

    kubectl apply -f service.yaml
  3. Get the external IP address:

    kubectl get services

    Use the external IP listed under your service to access the application.

List of Website Architecture on document/ directory or at SRS Warung Omega.pdf

  1. Use Case Diagram
  2. Activity Diagram
  3. Sequence Diagram
  4. Class Diagram
  5. State Chart Diagram
  6. BPMN

Documentation

1  index

2  product-index

3  product-page

4  login

5  cart

6  transaction 1

7  transaction 2

8  payment midtrans 1

9  payment midtrans 2

10  sandbox test 1

11  success payment

12  success transaction

13  user transaction history

14  responsive

About

Transforming UMKM Operations through Digital Strategies at Warung Omega Online Restaurant (Deploy on Heroku Soons!)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published