Skip to content

investing.ly is a platform to track all your investments (stocks,funds,cryptos) at a single place. This repository contains code for the backend of investing.ly

Notifications You must be signed in to change notification settings

ranjitmnair/investing.ly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

investing.ly


  • Clone the repository to your device
  • follow the steps
  • open the folder in VSCode terminal or another editor
  • execute the following
npm install
  • install all dependencies

To start the app:

npm start

routes:

  • localhost:3000/api/user/signup -[POST]{ to sign up}
  • localhost:3000/api/user/signin -[POST]{to sign in}

  • localhost:3000/api/stocks/buystock [POST]{body: symbol,purchasePrice,numberOfShares}

  • localhost:3000/api/stocks/getstockprice/:code [GET]{params-code(symbol of stock)}

  • localhost:3000/api/stocks/mystocks [GET]{get all stocks}


  • localhost:3000/api/funds/buyfund[POST]{body: schemeCode,purchaseNAV,numberOfUnits}

  • localhost:3000/api/funds/getfundprice/:schemeCode [GET]{params-schemeCode}

  • localhost:3000/api/funds/myfunds [GET]{get all funds}


  • localhost:3000/api/cryptos/buycrypto[POST]{body: cryptoCode,purchasePrice,numberOfCoins}

  • localhost:3000/api/cryptos/getcryptoprice/:cryptoCode [GET]{params-cryptoCode}

  • localhost:3000/api/cryptos/mycryptos [GET]{get all cryptos}



About

investing.ly is a platform to track all your investments (stocks,funds,cryptos) at a single place. This repository contains code for the backend of investing.ly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published