A full-stack web application for managing car inventory with authentication, image uploads, and comprehensive car management features.
- User Authentication (Login/Signup)
- Car Management (CRUD operations)
- Image Upload and Management
- Responsive Design
- Pagination
- Search and Filter Capabilities
- Error Handling and Loading States
- React with TypeScript
- Vite for build tooling
- Redux Toolkit for state management
- React Router for navigation
- Tailwind CSS & Shadcn UI for styling
- Axios for API calls
- Node.js with Express
- TypeScript
- Prisma ORM
- MongoDB Database
- JWT Authentication
- Swagger/OpenAPI Documentation
- Node.js (v16 or higher)
- npm or yarn
- MongoDB database
- Clone the repository:
git clone <repository_url>
cd <repository_directory>/frontend- Install dependencies:
npm install- Create a
.envfile in the frontend directory:
VITE_BACKEND_URL=http://localhost:8080 # For development- Start the development server:
npm run dev- Navigate to the backend directory:
cd ../backend- Install dependencies:
npm install- Create a
.envfile in the backend directory:
DATABASE_URL="your_mongodb_connection_url"
JWT_SECRET="your_jwt_secret"
PORT=8080- Set up the database:
npx prisma generate
npx prisma db push- Start the development server:
npm run devThe API documentation is available at:
https://team-mgmt-backend.el.r.appspot.com/api/docs/
The documentation provides detailed information about all available endpoints, request/response formats, and authentication requirements.
VITE_BACKEND_URL: Backend API URL
DATABASE_URL: MongoDB connection stringJWT_SECRET: Secret key for JWT token generationPORT: Server port number
frontend/
├── src/
│ ├── components/ # Reusable UI components
│ ├── pages/ # Page components
│ ├── services/ # API service layer
│ ├── store/ # Redux store configuration
│ ├── hooks/ # Custom React hooks
│ ├── utils/ # Utility functions
│ └── types/ # TypeScript type definitions
backend/
├── src/
│ ├── controllers/ # Request handlers
│ ├── middleware/ # Express middleware
│ ├── routes/ # API routes
│ ├── services/ # Business logic
│ └── utils/ # Utility functions
- Fork the repository
- Create a new branch
- Make your changes
- Submit a pull request
This project is licensed under the MIT License.