GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rachetm-work/ecommerce-app: Zania Assignment

BranchesTags
Open more actions menu

Latest commit

 

History

33 Commits
33 Commits

Folders and files

NameName
Last commit message
Last commit date
alembic
alembic
 
 
deployment
deployment
 
 
src
src
 
 
tests
tests
 
 
.dockerignore
.dockerignore
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Pipfile
Pipfile
 
 
Pipfile.lock
Pipfile.lock
 
 
README.md
README.md
 
 
alembic.ini
alembic.ini
 
 
main.py
main.py
 
 
pytest.ini
pytest.ini
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

ecommerce-app

Zania Assignment

Author: Rachet M

Environment file setup

  • Create a .env file in the root directory and add the all the variables in the .env.example file.
  • Since the default username and password for the database in the docker db container is postgres and postgres, the same is used.

For deployment on docker -

  • Navigate to /deployment directory from project root
  • Run bash deploy.sh
    • This will build the docker image and run the containers using docker-compose
    • The database for the app i.e.ecommerce and the test database i.e.ecommerce_test will be created once the db container starts and the initial migrations will also be run on the database.
  • The app will be running on http://localhost:8000
  • The api documentation can be accessed at http://localhost:8000/api/docs

For running tests -

  • Execute the following command from the terminal after deployment on docker -
    docker exec -it ecom-service pytest
    This will run all the tests in the app.

About

Zania Assignment

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.