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.
| Homepage | Viewing a board |
|---|---|
![]() |
![]() |
| Viewing a post (logged out) | Adding a comment |
|---|---|
![]() |
![]() |
| Creating a post | Login Page |
|---|---|
![]() |
![]() |
- 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
- Written in Javascript/ES6 with React
- Redux for managing app state
- Redux Thunk and Axios for interacting with REST API
django-react-forum depends on Python 3 and Node.js.
- Clone the repo:
git clone https://github.com/IvanFon/django-react-forum.git cd django-react-forum- Create virtualenv:
python3 -m venv ./env source env/bin/activate- Setup database:
python manage.py migrate - Install backend dependencies:
pip install -r requirements.txt cd frontend- Install frontend dependencies:
yarn -Dornpm install - Start frontend development server:
yarn startornpm run start cd ../- Start backend server:
python manage.py runserver - Open your web browser and navigate to
localhost:8000!





