Skip to content

Sudo-null7/Simple-Node.JS-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Node.js API


How to set up

git clone https://github.com/Sudo-null7/Simple-Node.JS-API.git
cd Simple-Node.JS-API
npm install .
node main.js

How to use it

To Get full request of train array

https://localhost/train

To get specific Train use

https://localhost/train/A1

JSON Data Table

JSON Data set

Letter Departure Time
A1 12:00
A2 12:30
B1 13:00
B2 13:30
C1 14:30
C2 15:00

How to change port

In main.js you can edit the Variable with the name port form 80 to anything you want

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published