- Women Safety:
- Emergency
- Location share with Family and Friends
- Show nearby Police station and Hospital
- Extreme Emergency
- Share details with nearby hospitals and emergency helplines
- General: Safe route for Womens (Traffic Layer API by Google Maps)
- Emergency
- Women Health
- Period Tracker
- Maternity guide with products suggestion on the month
- Gynecologist booking
- Financial Planning for Women
- Gov. and other schemes to support women notification
- Marketplace supporting womenprenuers
- Guides for Women:
- Miscellaneous
Authentication
- Google OAuth API
- Email/Pass Auth-
- Registration through Social and Email/Pass (verify through ElasticMail API)
Database
- PostgreSQL (supabase)
- supabase.py
SMTP
- ElasticEmail
To run this app follow the given steps:
Assuming you have Git installed, you can clone the existing repository using the following command:
git clone <repository_url>
Replace <repository_url>
with the URL of the Git repository you want to clone.
Change your current working directory to the newly cloned project folder:
cd <project_folder>
Creating a virtual environment is still recommended to isolate project dependencies, even when working with an existing project. You can use the same commands mentioned earlier:
virtualenv venv
# On Windows:
venv\Scripts\activate
# On macOS and Linux:
source venv/bin/activate
Install the required dependencies specified in the project's requirements.txt
file:
pip install -r requirements.txt
Follow the earlier steps to set up Supabase, configure your project, and initialize the Supabase client in the Flask application.
Copy its supabase_url
and supabase_key
and set them as environment variables:
export SUPABASE_URL=<supabase_url>
export SUPABASE_KEY=<supabase_key>
You can use Gunicorn to run the existing Flask application, just as mentioned in the previous guide:
gunicorn -w 4 -b 0.0.0.0:8000 app:app
Make sure to adjust the number of worker processes and the host/port as needed for the existing project.
Your Flask application should now be running. You can access it in your web browser.
By following these steps, you've successfully set up and run an existing Flask project from a Git repository with Flask-Session, Gunicorn, and integrated it with Supabase.
Team Members - Abhishek Verma - Aman Sharma - Bhavya Bhagwani - Raj Priya Singh
Period Tracker