Skip to content

Independent email service for all TeamShiksha project

License

Notifications You must be signed in to change notification settings

TeamShiksha/email-service

Repository files navigation

email-service

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.


How to Run the Project

  1. Clone the Repository:

    git clone https://github.com/TeamShiksha/email-service.git
    cd email-service
  2. Set up a Virtual Environment:

    python -m venv venv
  3. Activate the Virtual Environment:

    • Windows:
      venv\Scripts\activate
    • Mac/Linux:
      source venv/bin/activate
  4. Install Dependencies:

    pip install -r requirements.txt
  5. 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.
  6. Run the Application:

    python run.py

Development Mode with Auto-Reload

To enable development mode with live reload, use the following command:

uvicorn app.main:app --env-file=.env --reload

Access the Application

  • By default, the app runs at: http://localhost:8000
  • Navigate to the /docs route for API documentation and to explore all the available endpoints.

About

Independent email service for all TeamShiksha project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published