Skip to content

Develop a scalable FastAPI backend in Python to power custom API endpoints for the Investo-Glow Next.js application. ๐Ÿš€

Notifications You must be signed in to change notification settings

yashksaini-coder/investo-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

89 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Badge Docker Image Version (tag) Docker Image Size

This repo is the Backend Server for the Investo-glow project. It is a REST API server built using FastAPI and Agno AI. It is hosted on Render. The server is responsible for handling all the requests from the frontend and processing them. It also interacts with the Agno AI to get the predictions for the stock prices.

Tech Stack

FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.
Agno is a lightweight library for building multi-modal Agents.
Render is a cloud provider that makes deploying your code as easy as deploying to localhost. You can deploy anything that runs on a single port.
Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers
Redis is a free, open-source, in-memory database that stores data as key-value pairs. It's often used as a cache, message broker, or database for quick responses.

Deployment

The backend server can be locally deployed using Docker. Use the following command to build and run the server:

  • Build the Docker image
docker-compose build
  • Run the Docker container
docker-compose up
  • Access the server
http://localhost:8000/

API Documentation

The API documentation is available at the following URL:

http://localhost:8000/docs

Environment Variables

The following environment variables are required to run the server:

NEWS_API_KEY: Your News API key for fetching news articles.
REDIS_URL: The URL of the Redis server for caching.
GEMINI_API_KEY: Your Gemini API key for making predictions.
GROQ_API_KEY: Your Groq API key for making predictions.

Developers


Yash K. Saini

Lead Developer

LinkedIn Twitter GitHub

Kushagra Singhal

Senior Backend Engineer

LinkedIn GitHub

Made with โค๏ธ and โ˜• by the Investo Glow Team

About

Develop a scalable FastAPI backend in Python to power custom API endpoints for the Investo-Glow Next.js application. ๐Ÿš€

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •