I organize Ghost-Parking as a project with shared infrastructure, an Express gateway, a Go spatial-search service, and a React Native mobile application.
My repository has Root infrastructure and monorepo files with end-to-end integration and smoke test scripts.
My init.sql is the PostgreSQL bootstrap script for PostGIS initialization.
My root package.json contains monorepo scripts and tooling.
My root .env contains infrastructure environment variables.
My root .env.example is an infrastructure environment template.
My root .gitignore defines monorepo Git exclusions.
My test-stack.ps1 checks service health and network connectivity.
My gateway has a Dockerfile specifying its container image.
My schema.prisma defines the PostgreSQL relational and PostGIS schema.
My gateway integration tests include JWT registration and role-guard validation in auth.test.js.
My gateway integration tests cover Razorpay order, verification, and route-split behavior in payments.test.js.
My gateway integration tests cover Socket.io private rooms and broadcasts in socket.test.js.
My server.js handles application bootstrapping, CORS, and route mounting.
My gateway lib/ contains shared Prisma client, Redis, and Socket connections.
My gateway middleware provides token verification and role-authorization guards.
My gateway proxy rules target the Go search service.
My gateway routes cover auth, bookings, payments, spots, and host endpoints.
My Go service Dockerfile defines a multi-stage build container.
My Go service's go.mod defines its module and dependencies.
My Go service's go.sum validates dependency checksums.
My Go service's main.go contains the daemon routine, routing, and HTTP middleware.
My Go service's db/ contains database-driver connections and PostGIS initializers.
My Go service's models/ contains data structs for parking spots and spatial results.
My mobile app's App.tsx is its root React Native component entry point.
My mobile app's package.json contains npm dependencies and execution scripts.
My mobile __tests__/ directory contains unit and component test suites.
My mobile component tests cover screen rendering and UI interaction.
My mobile app has reusable atomic UI components, including buttons, cards, and inputs.
My mobile app's config/ handles API resolution and dynamic host-IP detection.
My mobile app's context/ provides global state, including authentication context.
My mobile app's screens include authentication, driver dashboard, and host listings.
My mobile app's theme/ contains design tokens for colors, typography, and elevation.
My gateway-express/ directory is the ingress and API gateway microservice; its listed components include a Prisma schema, integration tests, server setup, shared connections, middleware, proxy rules, and endpoint routers.
My Go search service includes HTTP request handlers for spatial radius search, alongside its daemon, database initialization, and data models.
My mobile application is a React Native Mobile Application with Expo configuration, tests, components, API and state configuration, navigation, screens, services, theme, and utilities.
The directory listing describes file and folder roles, but does not specify implementation details or runtime behavior. My local setup and service configuration are documented in ghost parking environment configuration.