This is a simple Todo 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
- Python3
- Pipenv
- Clone the project to your machine
[git clone https://github.com/Jordanirabor/django-todo-react]
- Navigate into the diretory
[cd django-todo-react]
- Source the virtual environment
[pipenv shell]
- Install the dependencies
[pipenv install]
- Navigate into the frontend directory
[cd frontend]
- Install the dependencies
[npm install]
You will need two terminals pointed to the frontend and backend directories to start the servers for this application.
- Run this command to start the backend server in the
[backend]
directory:[python manage.py runserver]
(You have to run this command while you are sourced into the virtual environment) - Run this command to start the frontend development server in the
[frontend]
directory:[npm install]
(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