Skip to content

alexandr-g/polls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polls

A single page application that lets users vote through the Polls API

Demo: https://pedantic-poitras-60ab7e.netlify.com

Screen Shot 2019-06-23 at 20 44 44

Usage

To run the project locally clone the repository:

$ git clone https://github.com/alexandr-g/polls.git

Install project dependencies:

$ yarn

Build and start project in development mode:

$ yarn start

This opens http://localhost:8080 in your default browser that will serve webpack output with a running app

Build production js bundle:

$ yarn build

Testing

Run tests using Jest:

$ yarn test

Project Structure

├── src                             - All the source code
│   ├── components                  - React UI components
│   ├── api                         - API
│   └── index.js                    - JS entry point
│   ├── index.html                  - HTML entry point
├── .babelrc                        - Babel config to transpile ES6
├── .gitignore                      - Ignore files for source control (node_modules, test coverage)
├── package.json                    - List of dependencies, npm scripts, author etc.
├── README.md                       - Project Overview and instruction how to run and test
├── webpack.config.js               - Custom webpack config
├── yarn.lock                       - Locked project dependencies

About

React SPA based on hooks that lets users vote through the Polls API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •