GoodDoctor avatar
GoodDoctor

Deprecated

Pricing

Pay per usage

Go to Store
GoodDoctor

GoodDoctor

Deprecated

Developed by

AENZBi

AENZBi

Maintained by Community

0.0 (0)

Pricing

Pay per usage

0

Total users

2

Monthly users

1

Last modified

6 months ago

# Doctor Medical App
## Overview
The Doctor Medical App is a full-stack web application designed for managing medical appointments. It features a backend API built with Node.js and Express.js, and a frontend user interface built with React.js. The app includes functionalities for user registration, authentication, and appointment management.
## Features
- **Backend**:
- User registration and authentication
- Appointment creation and management
- MongoDB database integration
- JWT-based authentication
- **Frontend**:
- User login and dashboard
- Responsive design
- Basic navigation between pages
## Installation
### Prerequisites
- Node.js (v16.17.0 or later)
- MongoDB (running locally or remotely)
### Setup
1. **Clone the Repository**:
```bash
git clone https://github.com/allyelvis/GoodDoctor.git
cd GoodDoctor/ DoctorMedicalApp
  1. Run the Setup Script:

    The provided Bash script will install all necessary dependencies and start the application.

    chmod +x setup_doctor_app.sh
    ./setup_doctor_app.sh

    This script performs the following actions:

    • Sets up the backend with Express.js
    • Sets up the frontend with React.js
    • Installs required Node.js packages
    • Starts both the backend and frontend servers concurrently

Configuration

Environment Variables

The backend requires certain environment variables to be set. These can be configured in the .env file located in the backend directory. Example .env file:

PORT=5000
MONGO_URI=mongodb://localhost:27017/doctor_medical_app
JWT_SECRET=your_jwt_secret

Running the Application

After running the setup script, the app will be available at:

  • Backend: http://localhost:5000
  • Frontend: http://localhost:3000

Development

Backend

  • Directory: backend
  • Main file: server.js
  • API routes: Defined in routes/

Frontend

  • Directory: frontend
  • Main file: src/App.js
  • Components: Located in src/components/
  • Pages: Located in src/pages/

Contributing

  1. Fork the repository.
  2. Create a feature branch: git checkout -b feature/new-feature.
  3. Commit your changes: git commit -am 'Add new feature'.
  4. Push to the branch: git push origin feature/new-feature.
  5. Create a new Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For any questions or feedback, please reach out to:

### Instructions:
1. **Save the File**: Save the content above into a file named `README.md` in the root directory of your project.
2. **Update Links and Contact Information**: Make sure to replace placeholder values with actual links and contact information relevant to your project.
This `README.md` provides a comprehensive overview of your Doctor Medical App, including installation instructions, configuration details, and contribution guidelines. Adjust the content as necessary to fit the specific details and needs of your project.