Giter Club home page Giter Club logo

poll-web-app's Introduction

Pollify - Live Demo

View our presentation on YouTube at https://youtu.be/nZJZJSu0YCg.

Viewing the app

The app is hosted at pollify.xyz. To download a copy of the source code and run the app locally, follow the instructions in the "Running app locally" section.

Running app locally

First, make sure to clone the repository to your system. Make sure you have git installed, then navigate to the directory you want to clone the repository. Then run the command:

git clone https://github.com/ethankeshishian/poll-web-app.git

This will create a new directory named "poll-web-app" that will contain the project's source code.

Installing Dependencies

To install dependencies, make sure you have npm installed, then navigate to the directory with a terminal using the cd <your directory> command. Then, run the command npm install to install all dependencies.

Running the app

To see the app in your web browser, run npm start or yarn start and navigate to http://localhost:3000 in your browser. The page will reload if you make edits.

Publishing backend

You should now be able to see the app. The app is already connected to our backend. To publish the commands in the /amplify folder to the cloud and build a new backend, continue reading.

To create a remote environment

Run the amplify env add command and answer the prompt as follows:

? Do you want to use an existing environment?
No

? Enter a name for the environment [dev|test|prod]

? Do you want to use an AWS profile? Yes

? Please choose the profile you want to use (default)

Enter your Google Web Client ID for your OAuth flow: XXX

Enter your Google Web Client Secret for your OAuth flow: XXX

To create resources on AWS

Run the amplify push command and answer the prompt as follows:

? Are you sure you want to continue? Yes

poll-web-app's People

Contributors

dadur604 avatar ethankeshishian avatar areksds avatar julia-yin avatar hann-zhong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.