mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 16:31:11 +00:00
- Create `user` ns for REPL-driven development. - Add entry point in `example.server` to start server in production.
26 lines
285 B
Markdown
26 lines
285 B
Markdown
# Ring Reitit example
|
|
|
|
A Sample project with ring and reitit.
|
|
|
|
## Usage
|
|
|
|
Run Ring server in command line:
|
|
|
|
```bash
|
|
lein run
|
|
```
|
|
|
|
Run Ring server in the REPL
|
|
|
|
```bash
|
|
lein repl
|
|
> (go)
|
|
```
|
|
|
|
Go with browser to:
|
|
|
|
* http://localhost:3000/ping
|
|
|
|
## License
|
|
|
|
Copyright © 2017-2018 Metosin Oy
|