- Clone the repo
git clone https://github.com/rrrokhtar/lenme/
- Change directory to the repo
cd lenme
- Make sure of having virtualenv package installed and python3
- Create a virtual environment
virtualenv venv
- Activate the virtual environment
source venv/bin/activate
- Install the requirements
pip3 install -r requirements.txt
- Run the migrations
python manage.py makemigrations core
- Run the migrations
python manage.py migrate
- Run the server
python manage.py runserver
- Visit the server at
http://localhost:8000
which will show you the API documentation
- Django
- Django Rest Framework
- SQLite
- Swagger
- Signup (toggle between is_borrower and is_investor): Signing up as a borrower
- Investor & Borrower: Login
- Borrower: Create a loan request
- Borrower: Get my loan requests
- Investor: Create offer
- Investor: Get my offers
- Borrower: Check offers on my loan request
- Borrower: Accept offer