-
Clone this repository
git clone https://github.com/ShajidJeshan/AIW-Works-Blood-Donation.git
- Open console and go to the directory folder
cd AIW-Works-Blood-Donation
-
Create Super User using
docker-compose run --rm app sh -c "python manage.py createsuperuser"
-
Add SuperUser with Login Credentials and go to
http://127.0.0.1:8000/
-
Use
CRTL+c
to exit the Django Container.
-
Create React App
-
In the console,
cd frontend
npx create-react-app .
-
Go to
http://127.0.0.1:3000
-
Use
CRTL+c
to exit the React Container.
docker-compose up -d
Run docker-compose run --rm app sh -c 'python manage.py test'
Run docker-compose stop
This app includes 03 services:
- data - PostgreSQL Database
- app - Django REST Framework with Pagination & Centralized Logging
- frontend - React, MaterialUI