Tests
(compatibility matrix)
-
Install Python >= 3.7
-
Install NPM |
v16.20.0
-
Run powershell.exe as administator and Execute follow command
Set-ExecutionPolicy RemoteSigned -Force
Step 1 - Once the project is downloaded, change the directory to
react-ui
.
$ cd frontend
Step 2 - Install dependencies via NPM or yarn
$ npm i --legacy-peer-deps
// OR
$ yarn
Step 3 - Start in development mode
$ npm run start
// OR
$ yarn start
At this point, the app is available in the browser localhost:3000
(the default address).
Step 1 - Change the directory to
backend
$ cd backend
Step 2 - Install dependencies using a
virtual environment
# (Windows based systems)
$ python -m venv env
$ .\env\Scripts\activate.ps1
$ pip install -r requirements.txt
Step 3 - Setup the database
$ python manage.py makemigrations
$ python manage.py migrate
Step 4 - Start the API server (development mode)
$ python manage.py runserver 5000
Use the API via POSTMAN
or Swagger Dashboard
at localhost:5000
.