/devvoted

The poll app 2.0

Primary LanguageTypeScript

Devvoted

A fresh 🆕 poll app will come here, keep an eye on this repo as code will appear!

Development Setup

Setup NodeJS (JavaScript runtime)

  1. Install asdf: brew install asdf
  2. Install the nodejs plugin: asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
  3. Check project version of node: cat .tool-versions
  4. Install nodejs: asdf install nodejs <version>

Setup Yarn (package manager)

You need Yarn 4+:

corepack enable
asdf reshim nodejs

Install dependencies

yarn install

Configure .env file

Copy the .env.example to .env and fill in the blanks

Running application (for development)

use 2 terminals:

yarn emulate:firestore
yarn dev

Viewing components

You can view the styled components through storybook:

yarn storybook:ui