https://github.com/bdrelling/doccmiddleware-example
An example project for the DocCMiddleware package.
https://github.com/bdrelling/doccmiddleware-example
docc example middleware swift vapor website
Last synced: 10 months ago
JSON representation
An example project for the DocCMiddleware package.
- Host: GitHub
- URL: https://github.com/bdrelling/doccmiddleware-example
- Owner: bdrelling
- License: mit
- Created: 2022-08-23T04:05:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-15T03:37:13.000Z (over 3 years ago)
- Last Synced: 2025-01-25T20:08:06.689Z (about 1 year ago)
- Topics: docc, example, middleware, swift, vapor, website
- Language: Swift
- Homepage: https://briandrelling.com
- Size: 279 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DocCMiddleware-Example
[](https://github.com/bdrelling/DocCMiddleware-Example/actions/workflows/tests.yml)
[](https://swiftpackageindex.com/bdrelling/DocCMiddleware)
[](https://swiftpackageindex.com/bdrelling/DocCMiddleware)
[](https://github.com/bdrelling/Template-Swift/blob/main/LICENSE)
An example project for the DocCMiddleware package.
## Running the Website
Type `swift run Example` into your terminal from the root of the repository to run the example website. The command will output the URL to navigate to, which will most likely be `http://127.0.0.1:8080`.
### Example Output
```sh
$ swift run Example
Building for debugging...
Build complete! (0.18s)
[ NOTICE ] Server starting on http://127.0.0.1:8080
```
## Generate Documentation
Regenerate documentation by running `scripts/docgen.sh` from the root of the repository.
## More Examples
For more examples, see [bdrelling/DocCMiddleware](https://github.com/bdrelling/doccmiddleware#examples).
## License
This project is released under the MIT license. See [LICENSE](/LICENSE) for details.