Below is the general structure of the repository:
.
├── backend
│ ├── Dockerfile
│ ├── entrypoint.sh
│ ├── lending
│ │ ├── accounts
│ │ ├── db.sqlite3
│ │ ├── lending
│ │ ├── loans
│ │ └── manage.py
│ └── requirements.txt
├── docker-compose.yml
├── frontend
│ ├── auth
│ │ ├── commands.txt
│ │ ├── node_modules
│ │ ├── package.json
│ │ ├── package-lock.json
│ │ ├── public
│ │ ├── README.md
│ │ └── src
│ └── Dockerfile
├── nginx
│ ├── Dockerfile
│ └── nginx.conf
├── postgres
└── README.md
- Backend: Django project that handles user creation and loan processing.
- Frontend: React project that provides users an interface to the system.
- postgres: Configuration for the postgres database docker setup.
- nginx Configuration and Dockerfile for nginx docker setup.
- Run the following command to setup the project:
docker-compose up --build
- Complete the database setup by running the migrations:
docker-compose exec backend python lending/manage.py migrate --noinput
- Create the admin user for the system. Please provide details as requested.
docker-compose exec backend python lending/manage.py createsuperuser
Once complete, access the project via http://localhost:8008