A fully functional todo django/react app >> Work in Progress 😊
$ git clone https://github.com/Onlynfk/django-react-todo-app.git
$ cd django-react-todo-app
-
Install pipenv, a python virtual environment manager.
-
Before you start you are to open two terminals one for backend and another for frontend
- Now ensure you are in root directory to install the backend servers (first terminal)
$ pipenv shell
$ pip install -r requirements.txt
$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py runserver
- Now Install frontend dependencies and run watch frontend (second terminal)
$ cd frontend
$ yarn install or npm install
$ npm run dev
- View on your browser ( to see it's working)
http://127.0.0.1:8000/frontend/