Skip to content

About

BlueCoLab's kiosk

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Repository files navigation

Blue CoLab Kiosk


TypeScript ESLint Prettier React Expo

React Kiosk for Blue CoLab!

About the Project

React version of Blue CoLab kiosk.

Features

Check it out here: https://bluecolab.github.io/react-kiosk/ !

Required Software

  • git - version control. For installing git, please see the git website.
  • npm - package manager. For installing npm, please see npm docs.
  • Testing:
    • Please use Google Chrome/Chromium based Browsers
  • All other prerequisites will be downloaded from the package.json. To install them see 'Getting Started'.

Recommended Software

  • VS Code - code editor
    • Please download the recommended extensions if prompted.
    • Recommended Extensions (look up @recommended in Extensions tab):
      • Prettier - Code formatter
      • ESLint
      • Prettier ESLint
      • Tailwind CSS
      • Code Spell Checker
      • GitHub Pull Requests
  • GitHub CLI - CLI for GitHub

Getting Started (one-time steps)

  1. Install all the software above.
  2. Clone the repo by running:
    git clone https://github.com/bluecolab/react-kiosk.git
  3. Navigate in your terminal to the react-kiosk:
    cd /react-kiosk/
  4. Install the dependencies by running:
    npm i

Running locally on computer via Expo Go

  1. Open a terminal window.
  2. Make sure you are in the react-kiosk.
  3. In the terminal start the app by running:
    npx expo start
  4. Hit the 'W' key to start building the web-version of the kiosk.

Build and deploy

Pushing to main automatically start the deployment process. This will take a few minutes. Once ready your changes will be visible here: https://bluecolab.github.io/react-kiosk/

Wiki (technical breakdown)

For a technical info see our wiki.

File structure

High level overview:

We use file-based navigation provided via the Expo Router for navigation.

Please follow this structure when creating new files:

react-kiosk - Parent folder, for all sub-directories and config files
├───.github - The files for workflows for GitHub Actions and the pull request template.
├───.vscode -  The files to configure VS Code setting such that all developers share common settings
├───app - For all app pages and navigation related files
├───assets - For all images, icons, and fonts
├───components - For all of the custom components (building blocks of pages)
├───hooks - For all of the custom hooks (reusable logic for state, data fetching, etc.)
└───types - For all custom TypeScript type definitions

Each of the above directories may be organized even further, grouped by similar functionality.

About

BlueCoLab's kiosk

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages