Live Preview | Project Overview | Setup Requirements | Project Setup | Project Implementation
This project is live on https://oilprice-api.herokuapp.com. Documentation is available on https://oilprice-api.herokuapp.com/docs.
This project displays basic API to get oil and gas prices based on oilprice.com.
- Node.js (you can download it here)
Using Terminal (Linux and MacOS) or WSL console (Windows), you can clone this repository by
git clone https://github.com/oilshit/oilprice-api.git
cd oilprice-apiAssuming Node.js installation has been done, you can install project dependencies by
npm installor
yarnAfter installing dependencies, you can start the server by
npm run devor
yarn run devThis will starts localhost server in http://localhost:3000 (port 3000). You can access the API for the first testing by typing http://localhost:3000 in your browser. The documentation of API can be accessed in http://localhost:3000/docs.
This project has been implemented on following stuffs:
- Extracting oil and gas price data into CSV file (oilprice-extract)
- more coming soon...
