twitter-flask

Backend

Installation

  • Change the working directory to backend.
  • Create python virtual environment using following command(or use any alternative)
python3 -m venv env
  • Activate virtual environment(For linux/macos):
source env/bin/activate
  • Activate virtual environment(For windows):
env\Scripts\activate.bat
  • Run following command to install the requirements:
pip install -r requirements.txt

Usage

  • After activating the virtual environment, run the server with:
python app.py
  • You will be able to access all APIs with base URL of http://127.0.0.1:5000/