Skip to content

AtharvGangwar48/RicoTrade-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RicoTrade Backend

This repository contains the backend code for RicoTrade, a trading platform inspired by Zerodha. It serves as a bridge between the frontend and the MongoDB database, enabling seamless API calls and providing real-time, updated data for the platform.

The backend is responsible for handling API requests from the frontend hosted on Traderico and ensures efficient communication with the MongoDB database.


Key Features

  • API Integration: Facilitates data retrieval and updates between the frontend and the MongoDB database.
  • MongoDB Connectivity: Ensures seamless connection with MongoDB for storing and managing data.
  • Real-Time Updates: Supports fetching updated data for a dynamic and responsive user experience.
  • Scalable Architecture: Designed to handle multiple requests efficiently.

Technologies Used

  • Node.js: For building the backend server.
  • Express.js: As the web application framework.
  • MongoDB: For the database.
  • Mongoose: For MongoDB object modeling.
  • Render: For deploying the backend server.

Start the server:

  1. command:
    npm start
    

API Endpoints used in RicoTrade-Trade

GET (https://backend4rt.onrender.com/allholdings) Fetches the latest data about holdings from the MongoDB database used in Holdings.js.

GET (https://backend4rt.onrender.com/allpositions) Fetches the latest data about positions from the MongoDB database used in Positions.js.

POST (https://backend4rt.onrender.com/newOrder) Adds new data to the MongoDB database about the orders of users used in BuyActionWindow.js.

About

Backend for api used in RicoTrade site clone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published