Code Monkey home page Code Monkey logo

nmastepankaj / note_app_django_react Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 307 KB

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.

Python 46.21% HTML 5.24% CSS 0.90% JavaScript 47.65%
context-api django django-rest-framework note-taking-app noteapp notes-app react token-authentication

note_app_django_react's Introduction

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 [email protected] 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.

note_app_django_react's People

Contributors

nmastepankaj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.