All Projects → SteinHQ → Stein

SteinHQ / Stein

Licence: mit
Use Google Sheets as your no-setup database

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Stein

Laravel Api Boilerplate
Laravel API Boilerplate | Please consult the Wiki !
Stars: ✭ 300 (-58.68%)
Mutual labels:  api, hacktoberfest
Wp Graphql Acf
WPGraphQL for Advanced Custom Fields
Stars: ✭ 358 (-50.69%)
Mutual labels:  api, hacktoberfest
Canvasapi
Python API wrapper for Instructure's Canvas LMS. Easily manage courses, users, gradebooks, and more.
Stars: ✭ 306 (-57.85%)
Mutual labels:  api, hacktoberfest
Wp Graphql
🚀 GraphQL API for WordPress
Stars: ✭ 3,097 (+326.58%)
Mutual labels:  api, hacktoberfest
Memento
Memento is a development-only tool that caches HTTP calls once they have been executed.
Stars: ✭ 380 (-47.66%)
Mutual labels:  api, hacktoberfest
Php Openapi
Read and write OpenAPI yaml/json files and make the content accessible in PHP objects.
Stars: ✭ 268 (-63.09%)
Mutual labels:  api, hacktoberfest
Loopback Next
LoopBack makes it easy to build modern API applications that require complex integrations.
Stars: ✭ 3,972 (+447.11%)
Mutual labels:  api, hacktoberfest
Abibliadigital
A RESTful API for Bible
Stars: ✭ 251 (-65.43%)
Mutual labels:  api, hacktoberfest
Villus
🏎 A tiny and fast GraphQL client for Vue.js
Stars: ✭ 378 (-47.93%)
Mutual labels:  api, hacktoberfest
Javacord
An easy to use multithreaded library for creating Discord bots in Java.
Stars: ✭ 368 (-49.31%)
Mutual labels:  api, hacktoberfest
Common
A set of common utils for consuming Web APIs with Angular
Stars: ✭ 259 (-64.33%)
Mutual labels:  api, hacktoberfest
Goa
Design-based APIs and microservices in Go
Stars: ✭ 4,493 (+518.87%)
Mutual labels:  api, hacktoberfest
Laravel Query Builder
Easily build Eloquent queries from API requests
Stars: ✭ 3,083 (+324.66%)
Mutual labels:  api, hacktoberfest
Vulcain
Fast and idiomatic client-driven REST APIs.
Stars: ✭ 3,190 (+339.39%)
Mutual labels:  api, hacktoberfest
Minha Receita
🏢 Sua API web para consulta de informações do CNPJ da Receita Federal
Stars: ✭ 255 (-64.88%)
Mutual labels:  api, hacktoberfest
Askql
AskQL is a query language that can express any data request
Stars: ✭ 352 (-51.52%)
Mutual labels:  api, hacktoberfest
Horaires Ratp Api
Webservice pour les horaires et trafic RATP en temps réel
Stars: ✭ 232 (-68.04%)
Mutual labels:  api, hacktoberfest
Mockoon
Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
Stars: ✭ 3,448 (+374.93%)
Mutual labels:  api, hacktoberfest
Vuex Rest Api
A utility to simplify the use of REST APIs with Vuex
Stars: ✭ 365 (-49.72%)
Mutual labels:  api, hacktoberfest
Ola
The Open Lighting Architecture - The Travel Adaptor for the Lighting Industry
Stars: ✭ 424 (-41.6%)
Mutual labels:  api, hacktoberfest

 

Stein

Ship fast and manage your data with ease. Connect to Google Sheets.

Kick off projects, design custom Google Forms, and manage your content in a familiar interface.
Power your project with the fully open source Stein.

SteinHQ.com | Documentation

Setup

There are two ways you can get started with the Stein API:

  • Use the hosted service to get a free & reliable API in a couple of clicks.
  • Self-host an instance of Stein. Find the related documentation here.

Examples

Details and examples on the complete functionality can be found in the documentation. Here are a few to get you started!

All the data and the errors are communicated using JSON. You may perform common operations on your sheets such as read, search, write, etc.

Structure your sheet as shown below, with the first row populated with column names.

Sheet Structure

A read operation on the sheet will return an array of the rows.

[
  {
    "title":"Why the Best Things in Life Can’t Be Planned",
    "content":"Thales of Miletus, considered ...",
    "link":"https://medium.com/...",
    "author":"Zat Rana"
  },
  ...
]

Using the core API

Since Stein is a REST API, there are no limitations as to which languages you can use. For this example, let's use the Stein JavaScript Client to obtain the data:

const SteinStore = require("stein-js-client");

// Instantiate store for spreadsheet API URL
const store = new SteinStore(
  "https://api.steinhq.com/v1/storages/5cc158079ec99a2f484dcb40"
);

// Read Sheet1 of spreadsheet
store.read("Sheet1").then(data => {
  console.log(data);
});

// Logs object like ↓
// [{title:"Why the Best Things in Life Can’t Be Planned",content:"Thales of Miletus, considered ...",link:"https://medium.com/...",author:"Zat Rana"}, {...}, ...]

Using plain HTML

To simply display the data on a webpage, we don't even need JS! Using Stein Expedite,

<!--- Replace the data-stein-url value with your API URL --->
<div
  data-stein-url="http://api.steinhq.com/v1/storages/5cc158079ec99a2f484dcb40/Sheet1"
>
  <div>
    <h1>{{title}}</h1>
    <h6>By {{author}}</h6>
    <p>
      {{content}}
    </p>
    <p>Read on <a href="{{link}}">Medium</a></p>
  </div>
</div>

Here's a minimal output of the above code.

Expedite Output

Contributing

Stein is completely open-source software, and the best part about structuring it this way is that everyone gets to own, understand, and improve it.

The main purpose of this repository is to continue to evolve the Stein Core API, making it faster and easier to use. We are grateful to the community for contributing fixes and improvements.

Code Of Conduct

All participants are expected to adhere to the Code of Conduct.

Contributing Guidelines

Read our contributing guide to learn about what contributions we are looking for and how to propose them.

Built With

  • Node.js + Express: The back-end API is an Express app. It responds to requests RESTfully in JSON.
  • MongoDB: The store for data Stein needs to function (OAuth tokens, API lists, etc.)

Partners

Stein officially partners with the following companies, and thanks them for their support!

For any queries regarding partnerships, reach out to SteinHQ.

License

The Stein core project is MIT licensed.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].