This backend is built using Django, a Python web framework for building web applications. It also utilizes Django REST framework for creating APIs, Django REST Knox for handling authentication, Cloudinary for hosting user-uploaded media files and Docker for easier development and deployment on the cloud.
To get started, make sure you have Python and pip installed on your machine. Then, clone the repository and run pip install -r requirements.txt to install all of the dependencies.
To get started, make sure you have a Stripe and Cloudinary account then also make sure you have Docker and Docker Compose installed on your machine.
Then run the following in your terminal(development)
- cp .docker/app/Dockerfile.dev Dockerfile
- cp .docker/app/docker-compose.dev.yml docker-compose.yml
- cp .env.examlpe.dev .env #fill in the your keys
- docker-compose up --build
- docker-compose exec app bash
- python manage.py migrate.py #will add seeding at some point
- python manage.py collectstatic #staticfile like css etc
- python manage.py createsuperuser #so you can access admin panel
Once the above is done, you should see the app on http://localhost:8000
Please note that this is a mock store api, to see the front-end code go here and to see it live
Thank you for visiting my online backend! I hope you find it useful in building your own project with a similar stack.