Giter Site home page Giter Site logo

faisalnazik / django-rest-framework-react.js-typescript Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 1.0 13.97 MB

Django Site with REST framework React.JS

License: MIT License

Python 15.10% CSS 0.26% HTML 0.73% TypeScript 2.49% JavaScript 81.31% SCSS 0.11%
user-registration registration backend react typescript frontend drf django-rest-framework

django-rest-framework-react.js-typescript's Introduction

Django-REST-framwork-React.JS

Django Site with REST framwork React.JS and Typescript

What this project will do ?

This project manages all data through django-admin / Django REST Framework including User Authentication / Registration through API to Frontend React App with Typescript Templates, mainly for a movie Streaming Site.

Status - Incomplete (But you can still run backend by installing the requirements/local.txt , then migrate the db and just load on localhost:8000/api/)

Frontend App Layout till now

screenshot

API ROOT TILL NOW

screenshot

http://localhost:8000/api/avatars/
http://localhost:8000/api/categories/
http://localhost:8000/api/videos/
http://localhost:8000/api/playlists/
http://localhost:8000/api/playlist-items/
http://localhost:8000/api/related/

To check and run homepage with react app loaded following steps to be followed

// Inside the frontend django app folder run following command

$ npm install $ npm run dev

//this will compile all the react app into single index.html which is plugged in config.urls with frontend.views

then ..

in the backend root run following command $ python manage.py runserver and load this on http://localhost:8000/

I am building this application using .....

Frontend

  • React with functional components and hooks
  • Redux Toolkit
  • Components & styling with Material-UI and Emotion

Backend

  • Django REST framework for a powerful API
  • Django ORM for interacting with the database
  • PostgreSQL
  • Unit tests with Pytest

Features built so far.

  • Functional User Auth Backend with Django Rest Framework in accounts app using Allauth and PostgreSQL.
  • Fully Functional UI For User Registration and Authentication With React.(Coming Soon)
  • Front End App Layout Integrated with API
  • Plugged frontend django app Integrated with manually created React App to run Django and React on the Same Port http://localhost:8000/
  • ...
  • ...

If you need any Help raise the issue and I will respond soon. If you wanna collaborate.You're welcome.

⭐️ Support

Give a ⭐️ if this project helped you!

License

The MIT License

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.