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-api
Assuming Node.js installation has been done, you can install project dependencies by
npm install
or
yarn
After installing dependencies, you can start the server by
npm run dev
or
yarn run dev
This 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...