Skip to content

sheetrocks/starter-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SheetRocks Starter App

This repository provides everything you need to start a new app on SheetRocks, the platform for building spreadsheet-backed apps.

Prerequisites

You'll need to have the latest LTS release of nodejs setup on your local machine.

Getting Started

  1. Run the following command to download and unzip the project, rename the project to "myapp", and initialize the frontend and backend environment files.
wget https://github.com/sheetrocks/starter-app/archive/refs/heads/main.zip && unzip main.zip && mv starter-app-main myapp && cd myapp && mv .example.env .env && mv api/example.env.ts api/env.ts
  1. Now you'll need to enter the correct environment variables in the files you just created. Visit SheetRocks and create a new workbook. Then, get the API Key, Workbook ID, User Sheet ID, and Root URL (optional) from the workbook using the video instructions here.
sed -i -e 's/{SHEETROCKS_API_KEY}/(Your API Key)/' -e 's/{WORKBOOK_ID}/(Your Workbook ID)/' -e 's/{USER_SHEET_ID}/(Your User Sheet ID)/' -e 's/{CUSTOM_DOMAIN}/(Your Custom Domain)/' .env api/env.ts
  1. Then run this command to install dependencies, compile the files, and deploy to SheetRocks.
npm ci && npm run build && node deploy.js

That's it! If the deploy was successful, it will shower you with praise and give you the link for your app.

About

Basic SheetRocks App with Authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published