https://github.com/patrickhulce/mock-website
https://github.com/patrickhulce/mock-website
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/patrickhulce/mock-website
- Owner: patrickhulce
- Created: 2016-04-09T17:33:27.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-09T18:26:02.000Z (about 10 years ago)
- Last Synced: 2025-05-26T19:05:38.985Z (about 1 year ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mock-website
Mocking out a website with titles, subtitles, content, and links.
## Usage
### Running
Listens on port 3101.
```sh
$ npm install
$ npm start
```
### Configuration
Determine the pages to return. See `pages.json` for examples.
```
curl -X POST http://localhost:3100/_configure/pages --data '[{}, {}]'
```