REST-based web service as a hub, serving user request rapidly.
- Install Python 3.9 or more recent. We need Python with Pip installed.
- Open your working directory and
git clone https://github.com/C23-PS051/api.git
cd api
- Create virtual environment for this service
python -m venv venv
- Activate virtual environment
source venv/bin/activate
(orvenv\Scripts\activate
for Windows) - Create
.env
file. Use.env.example
as example - Create Firebase account and store the Firebase Admin SDK credentials. See
.env.example
- Run ML API before running this service
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
. Voila!