this is a simple project that uses DRF and React-js
This project consists of two parts, first one is the backend with drf and second one is the frontend with React-JS.
clone this project from github repo.
cd backend
# create virtual-environment:
virtualenv venv
# activate virtualenv:
source venv/bin/activate
# install dependencies
pip3 install -r requirements.txt
# run the backend
python3 manage.py runserver
# run tests
python3 manage.py test ./tests
# run swagger
http://127.0.0.1:8000/swagger
cd frontend
# install dependencies
npm install
# run the frontend
npm start
Features available in this project:
- CRUDs for invoices.
- Pagination & Rate limits for endpoints.
- Search in list invoices.
- Unit test for every endpoint.