An open API service indexing awesome lists of open source software.

https://github.com/launchscout/launch_elements

Launch Elements: dynamic functionality for static websites
https://github.com/launchscout/launch_elements

customelements elixir livestate phoenix

Last synced: 11 months ago
JSON representation

Launch Elements: dynamic functionality for static websites

Awesome Lists containing this project

README

          

# Launch Elements

Launch Elements is a set of Custom Elements that make it easy to add dynamic features to a static website. You can think of them as a set of "universal plugins" that work regardless of hosting environment, platform, or technology. This repo contains the server side event handling code in Elixir and the front end TypeScript code for the custom elements.

## Launch Elements Cart

The `` element lets you easily add interactive ecommerce to a static html website. Currently it uses Stripe for the back end payment and product data. Other backends will be supported in the future.

[![Launch Cart Tutorial](https://cdn.loom.com/sessions/thumbnails/90d2f739bdac4fc0bee53aa2c59cb9aa-with-play.gif)](https://www.loom.com/share/90d2f739bdac4fc0bee53aa2c59cb9aa)

## Using Launch Elements

The easiest way to use Launch Elements is the hosted environment at https://elements.launchscout.com. Currently we are in active beta. Use the registration form to sign up and we'll get you going.

## On your own server (or locally)

Launch Elements is a Phoenix app. To start your server:

* Install dependencies with `mix deps.get`
* Create and migrate your database with `mix ecto.setup`
* Start Phoenix endpoint with `mix phx.server` or inside IEx with `iex -S mix phx.server`

Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.