Giter Site home page Giter Site logo

crud-app-using-django-and-reactjs's Introduction

CRUD App using Django and ReactJS

This application helps the user to Create, Read, Update andd Delete the Student List. The app uses django for the server side and React for the client side of the application.

Feautures:-

  • Single Page App
  • Create Student Information
  • Read Students Information
  • Update Studen Informationt
  • Delete Student Information

Anyone can create, read, update and delete the list of Students. The app doesn't contain any authentication. This is just a Simple CRUD App. The main motive of this app is to learn how to call APIs in react and manage the state of the application to update the view.

Please follow the setup instrutions as follow in order to view the complete app we need to setup our backend and frontend separately so be carefull otherwise there could be problems.

Backend-Setup

clone the repositroy:-

https://github.com/taran1515/CRUD-App-using-Django-and-ReactJS.git

Create Virtual env for django-part:-

cd crud_backend
virtualenv app

Activate Virtual env:-

app\scripts\activate

Install Dependencies:-

pip install -r requirements.txt

Make Migrations:-

./manage.py makemigrations
./manage.py migrate

Start server for your REST-API:-

./manage.py runserver

Frontend Setup:-

Go to root and Open another terminal window

cd crud_frontend

Install Dependencies:-

npm install

Run Server:-

npm start

So apparently to server is running one is localhost:8000(clientside react) and second is localhost:8080(django-api) So to see live application open http://localhost:8000 in your browser window

crud-app-using-django-and-reactjs's People

Contributors

taran1515 avatar

Watchers

James Cloos avatar  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.