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.
- Checkout
main:git checkout main - Create new feature branch:
git checkout -b feature/my-feature-name - Commit early and often, and try to be descriptive with commit messages.
- Push your feature branch up to remote frequently
- 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
ghpackage, you can do:gh pr create --base main --title "My PR title") - DO NOT MERGE the PR yet, assign to @GDKeller for review.
- After @GDKeller has given an approval review, merge to
main
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.
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.
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.
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