Skip to content

heroku-examples/lumina-solar-api

Repository files navigation

Lumina Solar API

API for use in software demos.

Prerequisites

Deploying to Heroku

Clone this repo and open the resulting directory in your terminal

Create Heroku app

heroku create <username>-lumina-solar

Provision Heroku Postgres add-on (incurs cost)

heroku addons:create heroku-postgresql:essential-0

Follow CLI instructions to “check creation process”, continue when “State” is created

Deploy the app

git push heroku main

Import the database schema

heroku run npm run-script setup

Seed the database with example data

heroku run node data/seed.js

Usage

JSON OAS schema available at path /api-docs/json

To browse the schema visually, open path / in a web browser

Releases

No releases published

Packages

No packages published