Skip to content

nz-m/react-django-blog-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 

Repository files navigation

react-django-blog-app

A platform for writing blogs, articles etc. Live

Technologies

  1. React
  2. Tailwind CSS
  3. Django 4.1.2
  4. Django REST Framework

UI Screenshots

Screenshot (74) Screenshot (76)

Setting up the backend server

  1. Clone the project
git clone https://github.com/nz-m/react-django-blog-app.git
  1. Go to the project directory (backend)
cd backend
  1. Create a virtual environment and activate it (Windows)
python -m venv env
env\Scripts\activate
  1. Install dependencies
pip install -r requirements.txt
  1. Migrate
python manage.py migrate
  1. Create admin/superuser
python manage.py createsuperuser
  1. Finally run the project
python manage.py runserver

Now the project should be running on http://127.0.0.1:8000/

Setting up the react app

.env file content for backend url

REACT_APP_BASE_URL = http://127.0.0.1:8000

run

cd frontend
npm install
npm start

Credits

Developer : Neaz Mahmud

Designer : Rownok

License

MIT license @ Neaz Mahmud