This is a website for cosmetic brand . It is built using React, Vite, Bootstrap for styling, and Firebase for backend integration. The website allows users to browse products and interact through a contact form. The project is hosted on GitHub Pages.
https://raniael-khouly.github.io/Extract-Website/
- View different natural products for hair and skin.
- Responsive design using React-Bootstrap.
- Contact form with Firebase integration for sending messages.
- Hosted seamlessly on GitHub Pages.
- React - Component-based front-end library.
- Vite - Build tool for fast development.
- Bootstrap - Responsive UI framework.
- Firebase - Backend integration .
- GitHub Pages - Project hosting deployment platform.
Follow these steps to set up the project on your local machine.
- Node.js and npm must be installed on your computer.
- Clone the repository:
git clone https://raniael-khouly.github.io/Extract-Website/
- cd Extract-Website
- npm install(install dependencies)
- npm run dev (run the development server)
- open the project in your browser.
The project is already deployed on GitHub Pages.
To connect Firebase to this project:
- Go to the Firebase Console.
- Create a new project and add a web app.
- Copy the Firebase configuration and replace it in your
firebase-config.js
file:const firebaseConfig = { apiKey: "YOUR_API_KEY", authDomain: "YOUR_AUTH_DOMAIN", projectId: "YOUR_PROJECT_ID", storageBucket: "YOUR_STORAGE_BUCKET", messagingSenderId: "YOUR_MESSAGING_SENDER_ID", appId: "YOUR_APP_ID", };
- Install firebase in your project (npm install firebase)
- Import and initialize Firebase in your project: import { initializeApp } from "firebase/app"; const app = initializeApp(firebaseConfig);
- Use Firebase for database, authentication, or messaging services.
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh