{"id":18106952,"url":"https://github.com/sagnik-coder24/u-survey","last_synced_at":"2026-04-29T21:32:30.756Z","repository":{"id":260089177,"uuid":"879899189","full_name":"Sagnik-Coder24/U-Survey","owner":"Sagnik-Coder24","description":"A React survey app using Firebase for auth, storage, and hosting.","archived":false,"fork":false,"pushed_at":"2024-10-29T20:16:28.000Z","size":68,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T06:46:05.821Z","etag":null,"topics":["css","firebase-auth","firebase-hosting","firebase-realtime-database","firestore","reactjs","survey","vite"],"latest_commit_sha":null,"homepage":"https://usurvey-b4085.web.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sagnik-Coder24.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-28T18:37:18.000Z","updated_at":"2024-11-02T04:27:16.000Z","dependencies_parsed_at":"2024-10-29T13:35:08.049Z","dependency_job_id":null,"html_url":"https://github.com/Sagnik-Coder24/U-Survey","commit_stats":null,"previous_names":["sagnik-coder24/u-survey"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sagnik-Coder24%2FU-Survey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sagnik-Coder24%2FU-Survey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sagnik-Coder24%2FU-Survey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sagnik-Coder24%2FU-Survey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sagnik-Coder24","download_url":"https://codeload.github.com/Sagnik-Coder24/U-Survey/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445648,"owners_count":20939953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","firebase-auth","firebase-hosting","firebase-realtime-database","firestore","reactjs","survey","vite"],"created_at":"2024-10-31T23:08:36.325Z","updated_at":"2026-04-29T21:32:30.722Z","avatar_url":"https://github.com/Sagnik-Coder24.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Basic Survey App\n\nA simple web application built with React and Vite that allows users to complete a survey. The app uses Firebase for authentication, database storage, and hosting. The interface is styled with CSS.\n\n## About Firebase\n\n[Firebase](https://firebase.google.com/) is a platform developed by Google for creating mobile and web applications. It provides a variety of tools and services to help developers build high-quality apps, including:\n\n- **Firebase Authentication**: Provides backend services to authenticate users with passwords, phone numbers, and popular federated identity providers like Google, Facebook, and Twitter.\n- **Firebase Realtime Database**: A NoSQL cloud database that allows you to store and sync data between your users in real-time.\n- **Firebase Firestore**: A flexible, scalable database for mobile, web, and server development from Firebase and Google Cloud Platform.\n- **Firebase Hosting**: Provides fast and secure hosting for your web app, static and dynamic content, and microservices.\n- **Firebase Cloud Functions**: Lets you run backend code in response to events triggered by Firebase features and HTTPS requests.\n- **Firebase Cloud Messaging**: A cross-platform messaging solution that lets you reliably send messages at no cost.\n\nFirebase integrates seamlessly with other Google services and provides a comprehensive suite of tools to help you develop, grow, and earn money from your app.\n\nFor more information, visit the [Firebase Documentation](https://firebase.google.com/docs).\n\n## Features\n\n- User authentication with Firebase\n- Store survey responses in Firebase Realtime Database\n- Host the app on Firebase Hosting\n- Responsive design with CSS\n\n## Getting Started\n\n### Prerequisites\n\nMake sure you have the following installed:\n\n- [Node.js](https://nodejs.org/)\n- [Yarn](https://yarnpkg.com/) or [npm](https://www.npmjs.com/)\n- [Firebase CLI](https://firebase.google.com/docs/cli)\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/Sagnik-Coder24/U-Survey.git\n   cd U-Survey\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   yarn install\n   # or\n   npm install\n   ```\n\n### Firebase Configuration\n\n1. Create a Firebase project in the [Firebase Console](https://console.firebase.google.com/).\n2. Enable Email/Password authentication in the Authentication section.\n3. Create a Realtime Database in the Database section.\n4. Set up Firebase Hosting in the Hosting section.\n5. Create a `.env` file in the root directory and add your Firebase configuration:\n\n   ```env\n   VITE_FIREBASE_API_KEY=your_firebase_api_key\n   VITE_FIREBASE_AUTH_DOMAIN=your_firebase_auth_domain\n   VITE_FIREBASE_DATABASE_URL=your_firebase_database_url\n   VITE_FIREBASE_PROJECT_ID=your_firebase_project_id\n   VITE_FIREBASE_STORAGE_BUCKET=your_firebase_storage_bucket\n   VITE_FIREBASE_MESSAGING_SENDER_ID=your_firebase_messaging_sender_id\n   VITE_FIREBASE_APP_ID=your_firebase_app_id\n   ```\n\n### Running the App\n\n1. Start the development server:\n\n   ```bash\n   yarn dev\n   # or\n   npm run dev\n   ```\n\n2. Open your browser and go to `http://localhost:5173` to see the app in action.\n\n### Deployment\n\n1. **Build the app for production**:\n\n   ```bash\n   yarn build\n   # or\n   npm run build\n   ```\n\n2. **Install Firebase CLI** (if not already installed):\n\n   ```bash\n   npm install -g firebase-tools\n   ```\n\n3. **Login to Firebase**:\n\n   ```bash\n   firebase login\n   ```\n\n4. **Initialize Firebase in your project**:\n\n   ```bash\n   firebase init\n   ```\n\n   - Select `Hosting` by using the space bar and then press enter.\n   - Choose your Firebase project from the list.\n   - Set the public directory to `dist` (or `build` if you’re using Create React App).\n   - Choose `Yes` for configuring as a single-page app (rewrite all URLs to `index.html`).\n   - Choose `No` for setting up automatic builds and deploys with GitHub.\n\n5. **Deploy to Firebase Hosting**:\n   ```bash\n   firebase deploy\n   ```\n\nAfter running these commands, your app will be live on Firebase Hosting. Firebase will provide you with a URL where your web app is accessible.\n\n## Usage\n\n1. Sign in using your email and password or Google.\n2. Complete the survey by answering the questions.\n3. Submit your responses to store them in the Firebase Realtime Database.\n\n## Built With\n\n- [React](https://reactjs.org/)\n- [Vite](https://vitejs.dev/)\n- [Firebase](https://firebase.google.com/)\n- [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS)\n\n## Contributions\n\nWe welcome contributions from the community! Feel free to open issues and pull requests to suggest improvements, add new features, or fix bugs. Here’s how you can contribute:\n\n1. Fork the repository\n2. Create a new branch (`git checkout -b feature-branch`)\n3. Make your changes\n4. Commit your changes (`git commit -am 'Add some feature'`)\n5. Push to the branch (`git push origin feature-branch`)\n6. Open a pull request\n\n### Suggestions \u0026 Feedback\n\nIf you have suggestions or feedback on how to improve this project, feel free to post them on our [GitHub Issues](https://github.com/Sagnik-Coder24/U-Survey/issues) page. We love hearing your ideas and collaborating with the community!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagnik-coder24%2Fu-survey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsagnik-coder24%2Fu-survey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagnik-coder24%2Fu-survey/lists"}