A simple API to fetch stock price for a security from an external API Built using NodeJS.
Request body should contain ticker and dataType(not mandatory) .
- Clone the repository
git clone https://github.com/Astha-24/Stock-App.git
- Install all dependecies
npm install
- Start the server
npm start
- Check the APIs using Postman
http://localhost:8000/stock?ticker=TCS&dataType=High
This sends a JSON with your required fields.
Contributions, questions and comments are all welcome and encouraged. For code contributions submit a pull request.