Giter Site home page Giter Site logo

aklilu-mandefro / social-network-in-django-and-react Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 6.0 487 KB

This is a social network for developers. In this Project I have used Django and Django-Rest-Framework for Backend and React For Frontend.

License: MIT License

Python 22.37% HTML 1.68% CSS 7.51% JavaScript 68.45%
django-social-network social-media-app social-network social-network-in-django-and-react social-network-in-react

social-network-in-django-and-react's Introduction

✍️ Social Network for Developers

This app is a Social Network For Developers. In this Project I have used Django and Django-Rest-Framework for Backend and React For Frontend.

Frontend( React )

To install dependency

npm install

To start the server

npm start

For Production Build

npm run build
  • I have used proxy http://127.0.0.1 for axios in package.json
  • You can set axios.defaults.baseURL = https://api.example.com Globally

Backend( Django )

Installing

open terminal and type

git clone https://github.com/Aklilu-Mandefro/social-network-for-developers-in-django-and-react.git

or you can download using the url below

https://github.com/Aklilu-Mandefro/social-network-for-developers-in-django-and-react.git

Requirements

To install requirements type

pip install -r requirements.txt

To use Github api put your credentials in settings.py

GIT_CLIENT_ID = 'your github client id'
GIT_CLIENT_SECRET = 'your github client secret'

To migrate the database open terminal in project directory and type

python manage.py makemigrations
python manage.py migrate

To run the program in local server use the following command

python manage.py runserver

Server will be available at http://127.0.0.1:8000 in your browser

Don't Forget to whitelist your host origin using django-cors-header when using in production
See Documentation

Project Report

In case if you want the documentation of the project, kindly request here

Preview of The Project

Developers' social network

Developers' social network

Developers' social network

Contribute to this project

Thank you for browsing this repo. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch
  3. Commit your Changes
  4. Push to the Branch
  5. Open a Pull Request

Please give this repo a ⭐ if you found it helpful.

social-network-in-django-and-react's People

Contributors

aklilu-mandefro avatar

Stargazers

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