https://github.com/007tickooayush/demo-route-handling
https://github.com/007tickooayush/demo-route-handling
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/007tickooayush/demo-route-handling
- Owner: 007tickooayush
- Created: 2021-07-23T14:26:50.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-23T14:34:21.000Z (almost 4 years ago)
- Last Synced: 2025-02-01T01:37:18.768Z (4 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# demo-Route-Handling
## Run server.js (on cmd)
```
node server.js
```## check response (on bash)
RESPONSE: index.html [content]
```
case '/'curl localhost:8000
```RESPONSE: login.html [content]
```
case '/login'curl localhost:8000/login
```**NOTE** Must have node.js installed.