Welcome to the Omilga Tyreshop project! This project is a website for a tyreshop that displays available tyres and their details, as well as the services provided by the shop. This project was developed by us to learn and enhance our MERN stack and web development skills. We are excited to share this as an open-source project with the developer community.
Check out the live demo of the project: Omilga Tyreshop
You can use the following credentials to log in as a user or admin:
- User - Email: jacksparrow@mail.com , Password: 1234
- Admin - Email: admin@mail.com , Password: 1234
- Screenshots
- Features
- Technologies Used
- Project Structure
- Installation
- Usage
- Contributing
- License
- Display available tyres with detailed information
- Showcase services provided by the tyreshop
- User authentication (login and signup)
- User profile management
- Admin dashboard for managing products
- Responsive design for a seamless experience on all devices
-
Frontend:
- React
- Vite
- Tailwind CSS
- React Router
- Axios
-
Backend:
- Node.js
- Express.js
- MongoDB (Mongoose)
- JWT for authentication
.env.development
.env.production
.gitignore
eslint.config.js
index.html
package.json
public/
SliderImages/
README.md
src/
App.jsx
assets/
components/
AdminLayout.jsx
Footer.jsx
Layout.jsx
Navbar.jsx
ProtectedRoute.jsx
shadcn/
ui.tsx
contexts/
AuthContext.jsx
hooks/
useAddTyre.jsx
useTyreProduct.jsx
useTyreProducts.jsx
useUpdateTyre.jsx
index.css
main.jsx
pages/
AboutUs.jsx
Admin/
Contact.jsx
Home.jsx
Login.jsx
ProductCatalog.jsx
ProductDetails.jsx
Services.jsx
SignUp.jsx
UserProfilePage.jsx
vite.config.js
-
Clone the repository:
git clone https://github.com/your-username/omilga-tyreshop.git cd omilga-tyreshop -
Install dependencies:
npm install
-
Set up environment variables:
Create a
.env.development
file in the root directory and add the following:
VITE_API_BASE_URL=http://localhost:5000Create a
.env.production
file in the root directory and add the following:
VITE_API_BASE_URL=https://omilgatyreshop-backend.onrender.com-
Run the development server:
npm run dev
-
Build for production:
npm run build
-
Preview the production build:
npm run preview
- Home Page: Displays a hero carousel and featured tyres.
- Products Page: Lists all available tyres with filters for brand, size, type, and price range.
- Product Details Page: Shows detailed information about a specific tyre.
- Services Page: Describes the services provided by the tyreshop.
- About Us Page: Provides information about the tyreshop's history and mission.
- Contact Page: Allows users to get in touch with the tyreshop.
- User Profile Page: Allows users to manage their profile and view their watchlist.
- Admin Dashboard: Allows admins to manage products.
We welcome contributions from the community! If you would like to contribute, please follow these steps:
-
Fork the repository.
-
Create a new branch:
git checkout -b feature/your-feature-name
-
Make your changes and commit them:
git commit -m 'Add some feature' -
Push to the branch:
git push origin feature/your-feature-name
-
Open a pull request.
This project is licensed under the GPL-3.0 License. See the LICENSE file for details.
Thank you for checking out the Omilga Tyreshop project! We hope you find it useful and informative. If you have any questions or feedback, feel free to reach out to us. Happy coding!



