A Craigslist Clone Please see PropertiesQueries.md for information about the queries and their descriptions and results.
Navigate to the backend folder and run:
pip install -r requirements.txtIn the backend folder, create a .env file with the following content:
HOST=127.0.0.1
PORT=8000
LOCATION=us-central1
DB_USER=root
DB_PASSWORD=your-password
DB_HOST=127.0.0.1
DB_NAME=craigslistDownload your Google JSON credentials file and place it in the backend folder.
export GOOGLE_APPLICATION_CREDENTIALS="/absolute/path/to/your-service-account-key.json"$env:GOOGLE_APPLICATION_CREDENTIALS="C:\absolute\path\to\your-service-account-key.json"From the backend folder, run:
python backend.pyNavigate to the frontend folder and run:
npm installIn the frontend folder, start the server with:
npm start