Welcome to Hertz Car Rental, a full-stack study project designed to simulate a modern rental car reservation system. This project showcases my skills in both front-end and back-end development, incorporating real-world features such as user authentication, booking management, and vehicle availability tracking.
To get started, follow these steps:
- Install dependencies with
npm install
- Create and seed the database with
npm run db:init
- Start the development server with
npm run dev
npm run db:reset
to reset the database to the initial statenpm run db:seed
to seed the databasenpm run db:studio
to open the Prisma Studionpm run lint
to run ESLintnpm run lint:fix
to run ESLint and fix errors
While the development server is running, you can also access documentation for the API at http://localhost:5173/trpc/panel.
app/
contains the front-end codeserver/
contains the back-end codeprisma/
contains the database, schema, and migrations
Front-end
- React Router for routing
- tRPC (React Query) for API calls
- React Hook Form for form handling
- Tailwind for styling
- shadcn/ui for UI components - the entire catalog of components is available in
app/components/ui
- Vite as the build tool
Back-end