methlox / Todo-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Todo-App

Practicing making todo apps

01- Using DRF and React

  • First, the api was built using django rest framework and later the react components were implemented in the frontend application.
  • Both drf and react were run on different ports and were using Cors Headers to communicate data.
  • To combine them as a part of the final step, build production was implemented and django was made aware of those static files in its setting.
  • Finally, a url to the empty path was directed towards the frontend.
  • After both were configured together, we can run them on a single port.
  • A virtual environment was deployed for production.

Available scripts

run npm install to install the node_modules.

Activate the virtual environment with env\scripts\activate

Download all the requirements via pip install -r requirements.txt

Run the server with python manage.py runserver

02

About


Languages

Language:Python 100.0%