/React-Django--Todo-Application

TODO application with a backend in Python(Django) and Frontend writen in Javascript(React)

Primary LanguageJavaScript

Introduction

This is a simple Todo application built off Django (including the Django REST Framework for API operations) and React.

Sample Use Case

alt text

Requirements

  • Python3
  • Pipenv

Getting started

  1. Clone the project to your machine ````
  2. Navigate into the diretory [cd django-todo-react]
  3. Source the virtual environment [pipenv shell]
  4. Install the dependencies [pipenv install]
  5. Navigate into the frontend directory [cd frontend]
  6. Install the dependencies [npm install]

Run the application

You will need two terminals pointed to the frontend and backend directories to start the servers for this application.

  1. 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)
  2. 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)

Built With

  • 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.