Awesome
Stelace API Starter Kit
This Stelace starter kit is free to use, under the terms of the MIT license. Feel free to fork, contribute or just make it your own :heart:.
This Web Platform starter kit with pre-configured serverless deployment leverages Stelace Search and Automation APIs to run a real-time platform full of super heroes operating in NYC.
- Live Demo
- Stelace docs quick start
- Blog post
- More details on how this works
Free your mind and imagine how many cool things you could build on your own with Stelace API… From online marketplaces to real-time platforms.
A more classical marketplace starter kit is also available with additional marketplace features such as Ratings, real-time Messaging, Asset pages and Transactions.
What is Stelace?
Stelace provides search, inventory and user management infrastructure and APIs for Web platforms, ranging from search-intensive marketplaces to online community apps.
Stelace offers powerful backend and APIs including advanced search, automation, and content delivery, to let you focus on what makes your platform unique.
Features
- Super Heroes as platform Assets that can be created by Users.
- Powerful and typo-tolerant Search :mag:, and advanced filtering with Custom Attributes.
- Real-time Events to automate the platform
- Automation with Stelace Workflows and Tasks, making the Website demo aware of Heroes missions and locations in real-time, as you would for a ride-sharing platform (like Lyft) :traffic_light:
- Headless CMS :page_with_curl: with Stelace Content API
- i18n :earth_africa: and full translations
- Performance (90+ Lighthouse score) :checkered_flag:
- JSON data import script, including Assets in CSV format.
- …
- and much more with Stelace API
Integrations
Leverage these integrations to start running your platform even faster:
- Automated and continuous deployment with Netlify
- Maps with OpenStreetMap provider
- Sentry for logging in production environment
- Google Analytics
Stack
Serverless JAMStack architecture:
- Vue.js
- Quasar framework
- Stelace API as backend
- Stelace headless CMS
- Stelace.js SDK
Node.js >= 8.9 is used for tooling.
Make it your own
You first need to get your Stelace API keys. Good news: it’s free.
- Clone this repository
git clone https://github.com/stelace/heroes-platform-demo.git
cd heroes-platform-demo
- Install node_modules
# using yarn instead of npm is recommended
yarn
If you don’t have yarn installed, you can follow these instructions.
- Create environment files for development and production.
You can copy .env.example
and fill it with Stelace API keys.
cp .env.example .env.development
# You may want to use live Stelace API keys in this file
cp .env.example .env.production
You need to fill the following environment variables:
- STELACE_PUBLISHABLE_API_KEY (pubk_...) used in Vue app
- STELACE_SECRET_API_KEY (seck_...) used in data seeding scripts
- VUE_APP_MAPBOX_STYLE to activate the map. You can upload live demo dark map style with Maptiler and get a map style URL:
https://api.maptiler.com/maps/YOUR_MAP_STYLE_ID/style.json?key=MAPTILER_KEY
.
You can get your API Keys in Stelace Dashboard.
yarn seed
- Start front-end development server
yarn dev
# same as quasar dev
Please refer to Quasar docs for more details about configuration and info on components.
Enjoy your platform :)
Deployment
We’ve set up continuous deployment for you with Netlify.
You just have to click "Deploy to netlify" above and follow the instructions to deploy.
Please refer to deployment docs section for more details or alternatives.
Stelace Dashboard
Create you own account for free to build your own platform and use official Stelace dashboard, enabling your team to access real-time stats, settings, live design and content editing with translation tools, asset and user management and much more.