How guru1802/patriot-parker works
Project type and purpose
• This is a full-stack, mobile-friendly web application (“Patriot Parker”) that enables real-time parking spot lookups, check-in/check-out, and user authentication for the George Mason University community.
• The backend is a Node.js/Express REST API with a SQL database. The frontend is a React.js single-page application optimized for mobile.
File structure
• Root folder:
– app.js, userauth.js, spotreserve.js, sum.js → Express application entry point and route modules
– database/Patriot_Parker.sql → SQL schema and seed data
• Frontend code lives under “frontend/my-app” (duplicated under “my-app” but assume one working React project):
– public/ → static assets and index.html
– src/ → React components (pages, Modal, UserContext), styling (CSS), tests, and app bootstrap
• Tests: app.test.js, sum.test.js, plus React tests under src/*.
• No separate “services” folder, but route modules (userauth.js, spotreserve.js) implement controller logic.
README for additional insights
• Confirms tech stack: Node.js, Express, PostgreSQL, React.
• Describes core features: real-time availability, check-in/out, filtering, user auth, responsive design.
• Mentions RESTful API, database tables for users and lots.