Skip to content

Latest commit

 

History

History
69 lines (45 loc) · 925 Bytes

README.md

File metadata and controls

69 lines (45 loc) · 925 Bytes

A Fullstack Blog Application in Django and React

This is a full-stack blog application made using React on the frontend and Django on the backend.

Run this project locally

First, Clone the repository:

git clone https://github.com/matrix-bro/full-stack-blog-app.git

Setup Django (Backend)

Go to this folder

cd full-stack-blog-app/backend

Create a virtual environment and activate it

python -m venv venv

(In windows)
source .\venv\Scripts\activate

(In linux)
source venv/bin/activate

Install dependencies

pip install -r requirements.txt

Apply migrations

python manage.py migrate

Start the development server

python manage.py runserver

Setup React (Frontend)

Go to this folder

cd full-stack-blog-app/frontend

Install Dependencies

npm install

Start the Development Server

npm run dev