https://github.com/hellerve/ddate-server
A simple Ddate server in zepto
https://github.com/hellerve/ddate-server
Last synced: 5 months ago
JSON representation
A simple Ddate server in zepto
- Host: GitHub
- URL: https://github.com/hellerve/ddate-server
- Owner: hellerve
- Created: 2016-06-29T17:02:37.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-30T11:55:47.000Z (almost 10 years ago)
- Last Synced: 2025-02-12T05:12:16.476Z (over 1 year ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ddate-server
A simple server in zepto that returns the current ddate.
# Requirements
You will need the html package (you can obtain it via `zeps i zepto-lang/html`).
If you don't want to install those manually, you can install the package directly
from Github via `zeps i hellerve/ddate-server`).
# Usage
```
zepto ddate-serve.zp
```
You can now access the web page on `0.0.0.0:5000`.
There is also a JSON "API" under `/json`. It will
tell you the current ddate in the format:
```javascript
{"ddate": "current-ddate"}
```
Have fun!