A REST api written in Django for people with deadlines
- Django: The web framework for perfectionists with deadlines (Django builds better web apps with less code).
- DRF: A powerful and flexible toolkit for building Web APIs
-
If you wish to run your own build, first ensure you have python globally installed in your computer. If not, you can get python here.
-
Then, Git clone this repo to your PC
$ git clone https://github.com/kiranrokkam09/task.git
-
- Cd into your the cloned repo as such:
$ cd task - Create and fire up your virtual environment:
$ pyton -m virtualenv venv $ cd venv/scripts $./activate.ps1 - Install the dependencies needed to run the app:
$ cd .. $ cd .. $ cd task $ pip install -r requirements.txt
- Make those migrations work
$ python manage.py makemigrations $ python manage.py migrate
- Cd into your the cloned repo as such:
-
Fire up the server using this one simple command:
$ python manage.py runserver
You can now access the Banks api service on your browser by using
http://localhost:8000/Bank/Below: Screenshot from the Bank API
You can now access the Branch with branch details using bank ifsc code with api service on your browser by using
http://localhost:8000/Branch/?ifsc={bank ifsc code}Below: Screenshot from the Branch API
-
U can test the apis using the simple command:
$ python manage.py test -
U can check the deployment server here https://kiranrokkam456.pythonanywhere.com/

