Welcome to TicketScout, where we revolutionize the ticketing experience with cutting-edge AI technology. Our platform simplifies the process of finding and managing tickets, leveraging MongoDB Atlas's powerful vector search and OpenAI's advanced text-embedding models to deliver precise, relevant search results.
http://localhost:8080/login/oauth2/code/github as the authorization callback URL.Cluster and Database Setup:
TicketScout database and a tickets collection within it.Vector Search Index:
vector_index_titleAndDescription using the JSON Editor, with the following configuration:
{
"fields": [
{
"numDimensions": 3072,
"path": "titleAndDescriptionEmbedding",
"similarity": "cosine",
"type": "vector"
}
]
}To start hacking, you need to set the following environment variables:
| Name | Description |
|---|---|
OAUTH_GITHUB_ID |
The Client ID from your GitHub OAuth application, used for user authentication. |
OAUTH_GITHUB_SECRET |
The Client Secret from your GitHub OAuth application, required for secure OAuth flows. |
APP_URL |
The base URL where your application is accessible, crucial for OAuth redirects and service callbacks. |
MONGODB_URI |
Your MongoDB Atlas connection string, enabling database access for your application. |
OPENAI_EMBEDDING_BASE_URL |
The base URL for OpenAI's embedding API, facilitating text embedding operations for advanced search features. |
OPENAI_API_KEY |
Your personal API key for accessing OpenAI services, necessary for utilizing AI-driven functionalities. |
Efficiently manage your CI/CD pipelines by setting up a production environment on GitHub and configuring the necessary secrets. These secrets are crucial for automating your deployment process
and ensuring secure access to your DockerHub account and Render deployment triggers.
| Name | Description |
|---|---|
DOCKERHUB_USERNAME |
The username for your DockerHub account, used to authenticate with DockerHub in CI/CD scripts. |
DOCKERHUB_PASSWORD |
The password for your DockerHub account, crucial for pushing and pulling Docker images securely. |
DOCKERHUB_TAG |
The tag for your Docker image, typically specifying the version or environment. latest is recommended for continuous deployment. |
RENDER_DEPLOY |
The URL or webhook to trigger deployment on Render, integrating your CI/CD pipeline with Render's hosting services. |
Remember to also configure the environment variables from the "Local Development" section in your Render environment settings.