Skip to content

Conversation

@Ayobami6
Copy link

Minimal E-commerce Backend API Development Test Solution

Setup

  • Install dependencies
poetry install
  • Activate poetry venv
poetry shell
  • Set up PSQL Database configuration
cp .env.sample .env
# update the configuration details inside the .env
  • Run makemigrations (This is because dev migrations are not being pushed to Github)
make mms
  • Run Migrate
make migrate
  • Start the application
make run
  • Visit Postman Documentation
    docs

  • Run Test

make test

Ayobami6 added 24 commits July 21, 2024 09:36
This includes configuring a PostgreSQL database connection using environment variables, specifying a Dockerfile for containerization, and setting up environment variables for runtime configuration. These changes ensure the application is properly containerized and configured for a smooth Dokku deployment.
Updated the application's port configuration across Dockerfiles, docker-compose settings, and Kubernetes service definitions to consistently use port 80. This ensures uniformity and simplifies deployment configurations.
The README file has been revised to include comprehensive instructions for setting up the development environment, running tests, and deploying the application to AWS ECS. It also provides links to the live application and Postman documentation.
Corrected a minor typographical error in the deployment section of the README file to enhance clarity and professionalism.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant