Skip to content

arislaode/sourcesage-commerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Background

This Project about show list all products, create a product, create a variant under a product and view a product and its variants..

Prequirement:

- Python version 3.8.10
- node version 18.11.0
- Flask version 2.0.1
- antd version 4.24.1
- Docker version 20.10.12
- MySQL version 8.0.31

How to use

  • update environtment api-ecommerce. Change api-ecommerce/.env-example to api-ecommerce/.env

  • deactivate environment via local in .env

    # DB_HOST=localhost
    # DB_USERNAME=your-db-username
    # DB_PASSWORD=your-db-password
    # DB_NAME=your-db-name
  • deactive baseUrl for local environtment in ../src/utils/Config.js :

    // const baseUrl = "http://127.0.0.1:8082"
  • Running project:

        docker-compose up
  • Check API app at url http://127.0.0.1:8082

  • Check frontend app at url http://127.0.0.1:1112

  • Note :

    • Check your API app:
      • import collection api at your Postman. Add ../collection-api/Commerce.postman_collection.json
      • if you change your code and you must remove all container deploy:
            docker-compose down --volumes --rmi all

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published