Skip to content

IvanFon/django-react-forum

Repository files navigation

django-react-forum Build Status

A single-page forum app made with Django and React.

This app allows users to register, login, create posts, and leave comments in the forum's message boards.

Screenshots

Homepage Viewing a board
Viewing a post (logged out) Adding a comment
Creating a post Login Page

Technologies Used

Backend

  • Written in Python 3 with Django
  • Automatically tested with Travis CI
  • REST API made with Django REST Framework
  • Django REST Framework Simple JWT for authentication over REST API
  • Django Webpack Loader to serve React client during development

Frontend

  • Written in Javascript/ES6 with React
  • Redux for managing app state
  • Redux Thunk and Axios for interacting with REST API

Usage

django-react-forum depends on Python 3 and Node.js.

  1. Clone the repo: git clone https://github.com/IvanFon/django-react-forum.git
  2. cd django-react-forum
  3. Create virtualenv: python3 -m venv ./env
  4. source env/bin/activate
  5. Setup database: python manage.py migrate
  6. Install backend dependencies: pip install -r requirements.txt
  7. cd frontend
  8. Install frontend dependencies: yarn -D or npm install
  9. Start frontend development server: yarn start or npm run start
  10. cd ../
  11. Start backend server: python manage.py runserver
  12. Open your web browser and navigate to localhost:8000!

About

A single-page forum app made with Django and React/Redux.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published