This is a e-commerce application built with React, TypeScript, and Tailwind CSS. The app includes features like cake listing, Cake details, shopping cart functionality, user authentication, and more.
- 🛒 Cake Listing: View a wide range of cakes with filters and search functionality.
- 📄 Cake Details: Detailed cake pages with images, descriptions, and reviews.
- 🛍️ Shopping Cart: Add/remove cakes from the cart, and manage quantities.
- 🔐 User Authentication: Secure login, registration, and user profile management.
- 💳 Checkout: Complete purchases using mock payment integration.
- 🎨 Tailwind CSS Styling: Modern, responsive design using utility-first CSS framework.
- 🔄 State Management: Managed with React Context API or Redux (choose based on your setup).
- 🚀 Deployment: Optimized for deployment.
This project base on MERN Stack.
- Node.js (v18 or later)
- npm (v6 or later) or yarn
-
Clone the repository:
git clone https://github.com/Shiphu2103/EC2024-04-CakeHub.git
-
Navigate to the server directory:
cd server
-
Install dependencies:
npm install
or
yarn install
-
Set up environment variables by creating a
.env
file in the root directory:DATABASE_URI=your_mongodb_uri CLIENT_ID = your_palpay_clientID CLOUDINARY_CLOUD_NAME=example_cloud_name CLOUDINARY_API_KEY=example_api_key CLOUDINARY_API_SECRET=example_api_secret
-
Start the development server:
npm start
or
yarn start
-
Navigate to the app directory:
cd client
-
Set up environment variables by creating a
.env
file in the root directory:REACT_APP_API_URL=https://api.example.com
-
Install dependencies:
npm install
or
yarn install
-
Set up environment variables by creating a
.env
file in the root directory:REACT_APP_API_URL=https://api.example.com
-
Start the development app:
npm start
or
yarn start
-
Open http://localhost:3000 in your browser to view the app.
The Tailwind configuration is defined in the tailwind.config.js
file. You can customize it by adding your own themes, colors, or extending the utility classes.
Our website and database are deployed on Vercel. Link: https://cake-hub.vercel.app/
This project is licensed under the MIT License.
Thank you, Pheelcus.