/Hackwars

Primary LanguageJavaScript

SvasthMaitri Medicines Donation Platform

Welcome to SvasthMaitri, a platform for donating medicines to those in need. This project aims to facilitate the donation process by providing a simple form for users to submit details about the medicines they wish to donate.

Table of Contents

Introduction

SvasthMaitri is a web-based platform developed to streamline the process of donating medicines. It allows users to fill out a form with details about the medicines they want to donate and submit it to the platform. The submitted information is then stored in a Firebase Realtime Database, where it can be accessed by administrators or relevant organizations to coordinate the donation process.

Features

  • User-friendly Interface: The platform provides a simple and intuitive form for users to fill out with details about the medicines they wish to donate.
  • Realtime Database: Utilizes Firebase Realtime Database to store and manage donation submissions, ensuring that information is updated and accessible in real time.
  • Cross-Origin Requests: CORS (Cross-Origin Resource Sharing) is implemented to allow communication between the frontend and backend, enabling seamless form submission.
  • Error Handling: Proper error handling is implemented on both frontend and backend to provide users with feedback in case of submission errors.

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/Hackwars.git
    
  2. Navigate to the project directory:
    cd svasthmaitri
    
  3. Install dependencies for both frontend and backend:
    cd frontend
    npm install
    cd ../backend
    npm install
    

Usage

  1. Start the backend server:
    cd backend
    node server.js
    
  2. Start the frontend development server:
    cd frontend
    npm start
    
  3. Open your web browser and navigate to http://localhost:3000 to access the SvasthMaitri platform.

Technologies Used

  • Frontend: React.js, Material ui
  • Backend: Node.js, Express.js
  • Database: Firebase Realtime Database
  • Other Tools: CORS middleware, Firebase Admin SDK

Contributing

Contributions are welcome! If you have any suggestions, improvements, or feature requests, feel free to open an issue or create a pull request.

License

This project is licensed under the MIT License.