Tuzhub uses the incredibly popular specification standard OpenAPI 3 as a bedrock for serving API documentation. This makes it trivial to plug it in and start serving your existing Swagger specs!
You can inject an existing spec directly into Tuzhub, or let Tuzhub take care of it for you if your spec is available remotely. Tuzhub will make sure the specification is kept up to date, versioned, and available to all users.
Multiple specs can be linked, and APIs can be consolidated through a centralised, easy to use interface.
- Install java
$ brew install openjdk
- Install maven
$ brew install maven
- Install node
$ brew install node
- Get backend dependencies. From
/serverdirectory:
$ mvn clean install
- Get frontend dependencies. From
/clientdirectory:
$ yarn install
- Run StartPostgresDocker.kt to throw up a postgres instance for local development
- Run backend through editor or through cli with
$ mvn clean package
$ java -jar target/app.jar
- Run app (from client directory):
$ npm start