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

narenkram/steadfast-monorepo

Repository files navigation

There are two different versions for this project.

⚠️ Important Notice for Open Source Version - free for personal use only

This repository contains experimental, AI-generated code - USE WITH CAUTION

  • This codebase is intended primarily for learning and experimental purposes
  • Contains potential bugs, security vulnerabilities, and implementation issues
  • Code quality is experimental-grade and not optimized for production
  • Can be used for real trading, but with extreme caution and at your own risk
  • May be unstable and prone to javascript runtime errors
  • Users should thoroughly test and understand the code before using with real funds

🚀 Looking for a web access with latest updates?

Signup Premium Version at https://www.steadfastapp.in

A professionally developed SaaS application, built using TypeScript and highly optimized for lightning-fast trades.

Join Our Telegram Channel

Stay updated by joining our Telegram Channel.

Project Overview

This repository is a monorepo containing three main projects:

  1. steadfast-app: The frontend application.
  2. steadfast-api: The backend API server.
  3. steadfast-websocket: The WebSocket service.

⚡ Steps to run the app

Step 0: Prerequisites

Operating System: Windows 11

  1. Ensure Git is installed and accessible from the command line.
git --version
  1. Ensure Node.js and npm are installed and accessible from the command line.
node -v && npm -v
  1. Ensure Python is installed and accessible from the command line.
python -V

Step 1: Clone the Steadfast Monorepo

  1. Open your terminal or command prompt.
  2. Run the following command:
git clone https://github.com/narenkram/steadfast-monorepo
  1. This will create a new folder named "steadfast-monorepo" in your current directory.
  2. Open/Navigate the monorepo folder in file explorer.

Step 2: Start

Double-click the start-all.bat file or run it from the command prompt.

What it does:

  1. Install all (Recommended for first time setup): Clones the repositories and installs dependencies.
  2. Update, install and run (Recommended when a update is available): Updates all repositories, installs dependencies, and then runs the services.
  3. Run existing version: Runs the existing version of the services without updating or installing anything.
  4. Exit: Exits the script.

What it does:

  1. Starts the steadfast-app at localhost: 5173
  2. Starts the steadfast-api server at localhost: 3000
  3. Starts the flattrade-websocket server at localhost: 8765
  4. Starts the shoonya-websocket server at localhost: 8766

Step 3: Stop

  • To Stop simply close the opened command prompt windows.
  • Or Press any key to stop the app, api and websocket.

About

The central code repository for the Steadfast 1-click option trading app (BankNifty, Nifty, Finnifty, MidcapNifty, NiftyMKT50, Sensex, Bankex, and Sensex50), managing shared components and setup scripts.

Topics

Resources

Stars

27 stars

Watchers

1 watching

Forks

Releases

No releases published

Sponsor this project

 

Packages

 
 
 

Contributors