Independent Email Service for all TeamShiksha Projects
This project provides a standalone email service to manage email functionalities for all TeamShiksha applications. It offers flexibility, reliability, and ease of integration across multiple projects.
-
Clone the Repository:
git clone https://github.com/TeamShiksha/email-service.git cd email-service
-
Set up a Virtual Environment:
python -m venv venv
-
Activate the Virtual Environment:
- Windows:
venv\Scripts\activate
- Mac/Linux:
source venv/bin/activate
- Windows:
-
Install Dependencies:
pip install -r requirements.txt
-
Configure Environment Variables:
- Use the
.env_example
file as a reference to set up your environment variables. - Rename it to
.env
and populate the required values.
- Use the
-
Run the Application:
python run.py
To enable development mode with live reload, use the following command:
uvicorn app.main:app --env-file=.env --reload
- By default, the app runs at: http://localhost:8000
- Navigate to the
/docs
route for API documentation and to explore all the available endpoints.