Skip to content

It is a basic note web app that is created using Django and Django REST Framework with token authentication and React. It is good for learning first time how to connect Django with React or Any backend to frontend using REST API. It is good for those who are new to authentication using Django REST Framework.

Notifications You must be signed in to change notification settings

nmastepankaj/note_app_django_react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Django + React Note App

It is a basic note web app that is created using Django and Django REST Framework with token authentication and React. It is good for learning first time how to connect Django with React or Any backend to frontend using REST API. It is good for those who are new to authentication using Django REST Framework.

Installation

First clone the github repository

  git clone https://github.com/nmastepankaj/note_app_django_react.git

Open the repository folder in any code editor (VS code) or open any terminal. Move to the backend folder and install all the requirements.

  cd backend

You need to create virtual environment for the project. If you don't have virtualenv the install it using the below command :-

  virtualenv venv

Now, activate the virtual environment using the below command. If you're window user :-

  ./venv/Scripts/activate

If you're linux user :-

  source venv/bin/activate

Then move to your project folder

  cd note_app

install all the project requirements

  pip install -r requirement.txt

Now, you need to create migrations and migrate all the migrations

  python manage.py makemigrations
  python manage.py migrate

Create super user for your project

  python manage.py createsuperuser

Run your project

  python manage.py runserver

Next step is to install the Frontend libraries. Open another terminal

  cd frontend
  npm i

Now start your react application

  npm start

Now your application is ready to use. First register a user and login with the provided credentials.

Authors

🔗 Links

portfolio linkedin twitter

🚀 About Me

I'm a full LAMP stack developer with Django as backend and React as frontend.

Feedback

If you have any feedback, please reach out to us at my profile link provided above.

Support

For support, email support@codingnap.com or follow me on insta (nmastepankaj).

License

MIT

Appendix

  • Frontend of this project is taken from the CodeWithHarry inotebook project.
  • for more information visit CodingNap.

About

It is a basic note web app that is created using Django and Django REST Framework with token authentication and React. It is good for learning first time how to connect Django with React or Any backend to frontend using REST API. It is good for those who are new to authentication using Django REST Framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published