Skip to content

Latest commit

 

History

History
71 lines (60 loc) · 1.44 KB

README.md

File metadata and controls

71 lines (60 loc) · 1.44 KB

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