https://github.com/aishbetu/fuel_station
Fuel Station Server in NodeJS
https://github.com/aishbetu/fuel_station
expressjs javascript mysql nodejs server
Last synced: 3 months ago
JSON representation
Fuel Station Server in NodeJS
- Host: GitHub
- URL: https://github.com/aishbetu/fuel_station
- Owner: aishbetu
- Created: 2022-01-19T09:19:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-27T11:00:04.000Z (over 4 years ago)
- Last Synced: 2026-01-01T16:59:55.177Z (6 months ago)
- Topics: expressjs, javascript, mysql, nodejs, server
- Language: JavaScript
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fuel Station
## Backend Server in NodeJS
[](https://travis-ci.org/joemccann/dillinger)
Fuel Station app is built with Node, Express, MySQL techstack ,
## The functionalities of this app are:
- Add new Fuel Sttaions
- View All Stations
- Update Fuel Price
- Delete Fuel Station
- Find top 3 nearby fuel station to user location
## Installation
Fuel Station requires [Node.js](https://nodejs.org/) v10+ to run.
Install the dependencies and devDependencies and start the server.
```sh
cd fuel_station
npm i
```
## Steps to run this project
- Import dump mysql file from "Exported MySQL DB" folder to your workbench.
- Check Wheather the database scehma is created in your workbench.
- Configure your mysql user and password along with db name in folder config/db.config.js
- Run command ``` "npm start"```
- Visit http://localhost:5000/api/v1/stations from your browser or postman.
## License
MIT