Skip to content

A sample application using Vendia, AppSync, Lambdas, and React.

Notifications You must be signed in to change notification settings

mikecaulley/vendia-votes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vendia Votes

A simple voting application built with

Vendia

Contains all Vendia configuration files for creating and managing Vendia Universal Apps (Unis).

Information about the CLI is available at Vendia's document site.

Lambdas

We use a middle layer to expand on the Vendia generated API. This allows our react app to have simplified GraphQL operations.

React App

A React JS app that allows a user to cast votes.

Quick Start (~30 minutes)

  1. Sign up for a Vendia account.

  2. Install the Vendia CLI

    • % npm install @vendia/share-cli -g
  3. Update vendia/registration.json to have a unique Uni name and your userId.

    • Prefix your Uni name with test- so that Vendia treats it as a test/development Uni
  4. Create the Vendia Uni

    • % share uni create --config vendia/registration.json
  5. Create an AppSync API from scehama.graphql.

  6. Create Lambdas for each folder under /lambdas.

  7. Within the AppSync console, wire the Lambdas to the appropriate resolvers.

  8. Update the apiUrl and apiKey in /app/src/config.js.

  9. From /app run yarn install then yarn start

About

A sample application using Vendia, AppSync, Lambdas, and React.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published