Skip to content

SimmonsRitchie/tt-politician-card

Repository files navigation

Texas politician contact card

A responsive, mobile-friendly component for displaying contact info for specific Texas politicians. Built with React JS, styled with TailwindCSS, and powered by the Texas Tribune's politician API

View demo

Getting started

Install

Installation of this project requires Node.js and, preferably NVM.

  1. To clone the project, run:

    git clone https://github.com/SimmonsRitchie/tt-politician-card.git

  2. If you use NVM, CD into the project directory and run:

    nvm use

    If you don't use NVM, ensure you are using the appropriate version of Node as specified in .nvmrc in the root of this project.

  3. Cd into the project directory and run:

    npm i

Local dev

To run in development mode, cd into the project folder and run:

npm run dev

Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

For the production build, run:

npm run build

This bundles the app for production to the build folder. It optimizes the build for the best performance. The build is minified and the filenames include the hashes.

About

React component for displaying Texas politician contact info .

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published