This is a application built off Django (including the Django REST Framework for API CRUD operations) and React. For a complete walkthrough, see Build a To-Do application Using Django and React
- Python 3.9
- Pipenv
- Navigate into the
[backend]directory - Source the virtual environment
pipenv shell - Install the dependencies
pipenv install - Run migrations
python manage.py migrate.
Note: To close out of the virtual environment, you can press [ctrl] + d
- Navigate into the
[frontend]directory - Install the dependencies
npm install
You will need two terminals pointed to the frontend and backend directories to start the servers for this application.
- Enter the virtual environment
pipenv shell - Start the backend server in the
[backend]directory:python manage.py runserver 8000
This will start the backend on the adddress localhost:8000
- Start the frontend server in the
[frontend]directory:npm start
This will start the frontend on the adddress localhost:3000
- React - A progressive JavaScript framework.
- Python - A programming language that lets you work quickly and integrate systems more effectively.
- Django - A high-level Python Web framework that encourages rapid development and clean, pragmatic design.
This demo app was originally built for a scotch.io (acquired in 2020 by DigitalOcean) article by Jordan Irabor