Quick Start 🚀
Get started with Stelace API in 5 minutes.
- Marketplace Demo is an Airbnb-like platform with properties for sale or rent.
- Heroes Platform Demo focuses on search, automation and real-time.
1. Get your free API keys
Head over to dashboard to create an account and get your API keys.
2. Clone the demo
In the local folder of your choice, run:
git clone https://github.com/stelace/marketplace-demo.git cd marketplace-demo
git clone https://github.com/stelace/heroes-platform-demo.git cd heroes-platform-demo
And install demo front-end dependencies:
# using yarn instead of npm is recommended yarn
3. Fill in your API keys
cp .env.example .env.development, just copy-paste your publishable and secret API keys:
# .env.development # available in dashboard “API Key” page STELACE_PUBLISHABLE_API_KEY=pubk_test_xxx STELACE_SECRET_API_KEY=seck_test_***
Stelace comes with built-in
live environments to make it even easier to try things.
test keys here.
4. Seed demo data
5. Start front-end dev server
After a few seconds, demo should be running at
Same if you’re using Marketplace demo (except that properties probably can’t move).
We suggest Mapbox or Maptiler as map provider.
You can use default Maptiler style with your own key:
# .env.development VUE_APP_MAPBOX_STYLE=https://api.maptiler.com/maps/streets/style.json?key=MAPTILER_KEY # VUE_APP_MAPBOX_TOKEN is not needed with Maptiler as it is included in style URL.
6. Fork or build anything else
It’s time to make it your own! More info about each starter kit is available on Github:
This is just a preview of what you can do with Stelace API.
There is much more to explore in these docs: we suggest Assets for starters.
Feel free to get in touch on our community forum ❤️.