Skip to content

davantsystems/photobooth-kiosk

Repository files navigation

Photobooth print kiosk app

This app allows users to view and print the captured photobooth images on a Davant kiosk tablet or their own mobile device.

It uses Express for the server and API routes, and React for the frontend. It currently expects the host machine to be physically plugged in to the photo printer via USB.

Development Process

  1. Checkout main: git checkout main
  2. Create new feature branch: git checkout -b feature/my-feature-name
  3. Commit early and often, and try to be descriptive with commit messages.
  4. Push your feature branch up to remote frequently
  5. After you've tested and are ready to merge to production, open a Pull Request on Github merging your feature branch into main (If you install the Github CLI gh package, you can do: gh pr create --base main --title "My PR title")
  6. DO NOT MERGE the PR yet, assign to @GDKeller for review.
  7. After @GDKeller has given an approval review, merge to main

Local Development server

There are essentially two apps: the Express server at the project root, and the React frontend running in /photo-gallery. These have seperate package.json, so run npm install in both of them separately.

In the following steps, leave the terminal pane for each service running - create new terminal panes for each development service.

Express server

How to start: In project root folder, run node app.js. The Express server will start on port 3000. You will see the console output in the terminal.

Tailwind watcher

How to start: In /photo-gallery directory, run npm run tailwind. The watcher compiles /photo-gallery/src/App.css to /photo-gallery/src/output.css.

React frontend server

How to start: In /photo-gallery directory, run npm run start. Frontend server will start on port 3001. This is the port you visit the website on, i.e. https://localhost:3001

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •