swagger-service tutorial using Duct
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dev
resources
src/swagger_service
test/swagger_service/endpoint
README.md
profiles.clj
project.clj

README.md

swagger-service

FIXME: description

Developing

Setup

When you first clone this repository, run:

lein setup

This will create files for local configuration, and prep your system for the project.

Environment

To begin developing, start with a REPL.

lein repl

Run go to initiate and start the system.

user=> (go)
:started

By default this creates a web server at http://localhost:3000.

When you make changes to your source files, use reset to reload any modified files and reset the server.

user=> (reset)
:reloading (...)
:resumed

Testing

Testing is fastest through the REPL, as you avoid environment startup time.

user=> (test)
...

But you can also run tests through Leiningen.

lein test

Generators

This project has several generators to help you create files.

  • lein gen endpoint <name> to create a new endpoint
  • lein gen component <name> to create a new component

Deploying

FIXME: steps to deploy

Legal

Copyright © 2015 FIXME