https://github.com/allanksr/local-endpoint_server
Single local endpoint server
https://github.com/allanksr/local-endpoint_server
expressjs javascript json nodejs
Last synced: 3 months ago
JSON representation
Single local endpoint server
- Host: GitHub
- URL: https://github.com/allanksr/local-endpoint_server
- Owner: Allanksr
- Created: 2022-05-25T22:06:05.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-27T20:29:29.000Z (about 4 years ago)
- Last Synced: 2025-04-27T16:03:35.056Z (about 1 year ago)
- Topics: expressjs, javascript, json, nodejs
- Language: JavaScript
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What is this?
Single local endpoint server
# Installation
#### `npm i local_endpoint_server --save`
[](https://www.npmjs.com/package/express)
Then...
create an index.js file in the same folder where you have just install library.
import library as shown below
```
const local_server = require('local_endpoint_server')
local_server.start()
```
## Test
#### `node index.js`
### everytime you call with promotional right code, this file will be changed [fileIn.json](https://github.com/Allanksr/Local-Endpoint_server/blob/main/input/fileIn.json)
## in order to expire the promotional code
