Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.

Commit 87d2401

Browse files
author
yashksaini-coder
committed
Fix workflows typo
1 parent 40b6459 commit 87d2401

File tree

3 files changed

+34
-13
lines changed

3 files changed

+34
-13
lines changed

.github/workflows/ping.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Keep Backend Active
2+
3+
on:
4+
schedule:
5+
- cron: '*/15 * * * *' # Runs every 15 minutes
6+
workflow_dispatch:
7+
8+
jobs:
9+
ping-backend:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 18
19+
20+
- name: Run ping script
21+
run: cd scripts && node ping.js ${{ secrets.BACKEND_URL }}

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
11
<img src="./public/demo.png" alt="Demo" width="100%" align="center"/>
22

33
---
4-
[![wakatime](https://wakatime.com/badge/user/9a827e04-5df8-4525-ace8-e88326bbf87a/project/ae998970-e02b-47a4-acbe-a48650c8551f.svg)](https://wakatime.com/badge/user/9a827e04-5df8-4525-ace8-e88326bbf87a/project/ae998970-e02b-47a4-acbe-a48650c8551f) [![Demo Video](https://img.shields.io/badge/Demo%20video-8A2BE2)](https://www.youtube.com/watch?v=9jkqToUvmZ4)
4+
5+
[![wakatime](https://wakatime.com/badge/user/9a827e04-5df8-4525-ace8-e88326bbf87a/project/ae998970-e02b-47a4-acbe-a48650c8551f.svg)](https://wakatime.com/badge/user/9a827e04-5df8-4525-ace8-e88326bbf87a/project/ae998970-e02b-47a4-acbe-a48650c8551f)
6+
[![YouTube](https://img.shields.io/badge/YouTube-%23FF0000.svg?style=for-the-badge&logo=YouTube&logoColor=white)](https://www.youtube.com/watch?v=9jkqToUvmZ4)
57

68
---
79

810
> [!NOTE]
9-
> Main Backend server hosted on Render. It is a REST API server built using **[FastAPI](https://fastapi.tiangolo.com/)** and **[Agno](https://docs.agno.com/introduction)**. It is hosted on Render.
10-
> The server is responsible for handling all the requests from the frontend and processing them.
11+
> Main Backend server hosted on Render. It is a REST API server built using **[FastAPI](https://fastapi.tiangolo.com/)** and **[Agno](https://docs.agno.com/introduction)**. It is hosted on Render.
12+
> The server is responsible for handling all the requests from the frontend and processing them.
1113
> It also interacts with the Agno AI to get the predictions for the stock prices.
1214
13-
<iframe
14-
width="100%"
15-
height="480"
16-
src="https://youtu.be/Ewnsmr99NJY"
17-
frameborder="0"
18-
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
19-
allowfullscreen>
20-
</iframe>
2115

2216
## Deployment
2317

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

2620
- **Build the Docker image**
27-
```bash
21+
22+
```bash
2823
docker-compose build
2924
```
3025

3126
- **Run the Docker container**
27+
3228
```bash
3329
docker-compose up
3430
```
3531

3632
- **Access the server**
33+
3734
```bash
3835
http://localhost:8000/
3936
```
4037

4138
### API Documentation
39+
4240
The API documentation is available at the following URL:
4341

4442
```bash
4543
http://localhost:8000/docs
4644
```
45+
4746
This documentation provides a detailed overview of all the available endpoints, including their request and response formats. You can also test the endpoints directly from the documentation.
4847

4948
## Test the API
49+
5050
You can test the API using Postman or any other API testing tool. The following endpoints are available:
5151

5252
- /chat

routes/stockRoutes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ async def read_root(request: Request):
1717
"""Root endpoint returning API server information"""
1818
return templates.TemplateResponse("base.html", {
1919
"request": request,
20-
"text": "Investo-glow Backend API Server"
20+
"text": "Hack AI agent Server"
2121
})
2222

2323
@router.get("/top-stocks")

0 commit comments

Comments
 (0)