The Car Management System is an API that allows users to perform CRUD operations on car details, including tags, images, descriptions, and titles. Users can also manage their profiles and authentication.
The Login page allows users to authenticate by entering their email and password. A link to the Signup page is also provided for new users.
The Signup page enables new users to create an account by providing their username, email, and password.
The New Product Add page allows users to input details for a new car, including title, description, tags, and images.
The Product Page displays detailed information about a specific car, including its title, description, tags, and images & Edit/Delete existing car details.
The List/Grid View Car Page shows all available cars in either a grid or list format, providing links to individual Product Pages.
The Swagger API Docs page provides a comprehensive overview of the API endpoints available in the Car Management System.
-
Create User
POST /api/users/register
Register a new user. -
Login User
GET /api/users/login
Login user .
-
Create Car
POST /api/cars
Add a new car. -
Get All Cars
GET /api/cars
Retrieve a list of all cars. -
Get Car by ID
GET /api/cars/:id
Retrieve car details by ID. -
Update Car
PUT /api/cars/:id
Update car details by ID. -
Delete Car
DELETE /api/cars/:id
Remove a car by ID.
VITE_API_URL=
PORT=
MONGO_URL=
ACCESS_TOKEN_SECRET=
FRONTEND_API=
To manage images in your Car Management System, use Cloudinary to upload images and store their URLs as strings.







