Microservice that enables users to browse a product catalog and automatically updates prices from the offer service provided by the company Applifting.
tested on Windows 10
Don't forget to install your virtual environment and activate it before you install others things. After downloading your clone from the repository, it will install all the dependencies for you.
py -3 -m venv venv
pip install -r requirements.txt
and then install your DB client, I chose PostgreSQL with pgAdmin 4.
You have to go to settings.py and set up your DB, before you run the application!
Then do the migrations:
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
then you can visit your endpoints and work with them
http://localhost:8000/api/docs#/
If you want to run the microservice at the same time, you need to open a second command line and be in the same directory as manage.py
python manage.py update_prices
without a license