Comments (3)
Hey @Dressi , not sure if are just looking for a dockerized version, or would just running locally do for you. In case the latter is fine, here are steps that worked for me (assuming you have docker
and sbt
):
Step 0.
Checkout (git clone
) the following repos:
https://github.com/apicollective/apibuilder (with api and UI)
https://github.com/apicollective/apibuilder-generator (with code generators)
Step 1
# Run dockerized DB
docker run -d -p 5432:5432 flowcommerce/apibuilder-postgresql:latest
Step 2:
# within apibuilder repo directory – run api locally
sbt 'api / run 9001'
## and in a separate terminal tab/pane/window – run UI locally
sbt 'app / run'
Step 3:
# within apibuilder-generator repo directory – run generators
sbt 'generator / run 9002'
Step 4:
Open http://localhost:9000/login/dev in your brower (this will log you in as dev
).
Navigate to http://localhost:9000/generators where you have to add service url http://localhost:9002
so that your local apibuilder points at apibuilder generators.
That's it.
Please feel free to share details in case you get stuck. Hope this helps.
from apibuilder.
There's no tutorial, but you can use the instance at https://app.apibuilder.io
from apibuilder.
Thank you for your answer.
It's also useful for me.
My goal was to run everything from docker only,
I could do it with small changes: Dressi#1 . I know it's a hack, but It's my first try only and I don't have experience in java and scala yet.
from apibuilder.
Related Issues (20)
- Swagger enums are not imported when defined in an array
- Swagger import fails on circular model dependencies
- Instructions for running service on private kubernetes cluster
- Union Types: Models can belong to different union types with different discriminators HOT 1
- Imported services duplicates in invocation form
- Add schema to https://www.schemastore.org/json/ HOT 5
- API pages: Hyperlinks from models do not work with interface types
- Problem in the example file(api.json)
- Python support
- Swagger: Path definition ignored silently if no 200 response defined
- Add http4s 0.22.x support HOT 1
- Auto authorize membership in API Builder based on GitHub org
- Support OpenAPI3 HOT 4
- Swagger: path definition ignored when unit returned in 2xx response HOT 1
- Add http4s 0.23.x Generator HOT 1
- Union types don't automatically inherit Interface fields during code generation HOT 1
- Unions generation: The operator '[]' isn't defined for the class 'int' HOT 4
- Union type json readers should check discriminator HOT 1
- Will you support $refs like the OpenAPI specification? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apibuilder.