The Winter Shield Project aims to provide solutions for protecting individuals, communities, and infrastructure from the challenges associated with extreme winter conditions. It focuses on developing innovative strategies, tools, and resources to mitigate the impact of cold weather and enhance resilience during the winter months.
To set up the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/winter-shield.git cd winter-shield
-
Install dependencies:
npm install
-
Create a
.env
file in the root directory and add the following environment variables:VITE_apiKey=your_firebase_api_key VITE_authDomain=your_firebase_auth_domain VITE_projectId=your_firebase_project_id VITE_storageBucket=your_firebase_storage_bucket VITE_messagingSenderId=your_firebase_messaging_sender_id VITE_appId=your_firebase_app_id
-
Start the development server:
npm run dev
-
Open your browser and navigate to:
http://localhost:5173
To configure Firebase for the project:
-
Go to the Firebase Console:
Firebase Console -
Create a new project or select an existing one.
-
Get Firebase Configuration:
- Navigate to Project Settings.
- Under General, find your Firebase SDK Config.
- Copy the API keys and paste them into your
.env
file.
-
Enable Authentication (Optional):
- In Firebase Console, go to Authentication → Sign-in method.
- Enable the necessary authentication providers.
-
Set up Firestore Database (if required):
- Go to Firestore Database and create a database.
- Set rules based on your project needs.
✅ Interactive UI with smooth animations
✅ Firebase integration for real-time data storage
✅ Offline support with localforage
✅ Advanced sorting and filtering functionalities
✅ Responsive design powered by Tailwind CSS & DaisyUI
✅ Routing support via react-router-dom
✅ Toast notifications for user interactions
✅ Carousel & animations using slick-carousel
, animate.css
, and AOS
react
– Frontend frameworkreact-dom
– DOM rendering for Reactreact-router-dom
– Routingfirebase
– Backend servicesreact-icons
– Icon libraryreact-hot-toast
– Notificationsanimate.css
– CSS animationsaos
– Scroll animationstailwindcss
– Utility-first CSS frameworkdaisyui
– UI component library
vite
– Development build tooleslint
– JavaScript linter@vitejs/plugin-react
– React plugin for Vitepostcss
– CSS transformation tool
1️⃣ Development Mode:
npm run dev
2️⃣ Build for Production:
npm run build
src/
– Main source codepublic/
– Static assetscomponents/
– Reusable UI componentspages/
– Page viewshooks/
– Custom hooksstyles/
– CSS & Tailwind styles
❓ Installation Issues: Ensure Node.js
and npm
are installed properly.
❓ Firebase Errors: Verify API keys and database configurations.
❓ Tailwind CSS Not Working: Ensure postcss
and autoprefixer
are installed.
💡 Md. Younus Islam – GitHub Profile
🎉 Contributions are welcome! Feel free to fork the repo, open issues, and submit pull requests.
🚀 Thank you for exploring the Winter Shield Project! ❄️
We hope this project empowers individuals and communities to prepare for and thrive in extreme winter conditions.
Your contributions, feedback, and support are greatly appreciated! 💙
Stay warm, stay safe, and keep innovating! 🔥✨
Happy coding! 🚀😊