An open API service indexing awesome lists of open source software.

https://github.com/007tickooayush/demo-route-handling


https://github.com/007tickooayush/demo-route-handling

Last synced: about 2 months ago
JSON representation

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.