A simple rest api for Indian Railway data for personal projects which allowe to GetTrainInformation,GetRoute,GetTrainOnDate,GetTrainBtwStations
- Nodejs
NPM Package
: expressNPM Package
: user-agents
To get a local copy up and running follow these simple steps.
In order to get a copy of the project you will require you to have Node.js (v14+) and the NPM package manager installed. If you don't have it, you can download the latest version of Node.js from the official website which also installs the NPM package manager by default.
Open the terminal in the folder in which you wish to clone the repository and enter the following command:
git clone https://github.com/AniCrad/indian-rail-api.git .
Install all the NPM packages:
npm i
In order to run the server:
npm run start
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/YourAmazingFeature
) - Add Your Changes (
git add .
) - Commit your Changes (
npm run commit
) - Push to the Branch (
git push origin feature/YourAmazingFeature
) - Open a Pull Request
Note : only use npm run commit
while commiting and select your tag whatever you done and then push it.
• Dojeto