A blog website made with ReactJS as frontend and Python Flask as backend.
- ReactJS (Frontend): A multi-page blog website with a responsive design.
- Python Flask (Backend): A RESTful API for the frontend to interact with the database.
- MongoDB (Database): A NoSQL database to store the blog posts and user information.
- JWT (Authentication): JSON Web Tokens are used for user authentication.
- Go to the
backenddirectory.cd backend - Create a virtual environment:
python3 -m venv .venv
- Activate the virtual environment:
linux command
. ./.venv/bin/activate - Install the required dependencies:
pip install -r requirements.txt
- Run the following command:
flask --app app.py run
- The backend server will start running on
http://localhost:5000.
- Go to the
frontenddirectory.cd frontend - Install the required dependencies:
npm install
- Run the following command:
npm run dev
- The frontend server will start running on
http://localhost:5173.