- Frontend: React-based web application showcasing a feed interface.
- Backend: Flask-based API to handle feed data and other operations.
- Node.js and npm are installed for the frontend.
- Python 3.10.10 is installed for the backend.
- cd into the frontend repo
cd frontend- Install node dependencies
npm install- Run the frontend
npm run dev- cd into the backend directory
cd backend- Set up a virtual environment (if you haven't already):
python3 -m venv venv- Activate the virtual environment:
- Linux/MacOS:
source venv/bin/activate- Windows:
venv\Scripts\activate- Install libraries:
pip install -r requirements.txtOptionally, use this to add libraries to requirements.txt:
pip freeze > requirements.txt- Start the Flask development server:
flask --app server runOr run this for auto-reloading when code changes (Recommended):
flask --app server run --debugBy default, the backend will be available at http://localhost:5000.