A full-stack healthcare application built with Vue.js and Express, featuring blockchain integration and cloud storage capabilities.
BridgeHealth is a modern healthcare management platform that combines a Vue.js frontend with an Express.js backend. The application includes authentication, file management, and integration with Solana blockchain and cloud storage services.
- Vue.js 3 - Progressive JavaScript framework
- Vue Router - Official routing library
- Vuex - State management
- Vite - Next-generation frontend tooling
- Sass - CSS preprocessor
- Express.js - Web application framework
- MongoDB (via Mongoose) - Database
- JWT - Authentication
- Bcrypt - Password hashing
- Nodemailer - Email service
- Solana Web3.js - Blockchain integration
- AWS SDK - Amazon Web Services integration
- Google Cloud Storage - File storage
- Multer - File upload handling
- Node.js (v14 or higher recommended)
- MongoDB instance
- AWS account (if using AWS services)
- Google Cloud account (if using GCS)
- Solana wallet (if using blockchain features)
- Clone the repository:
git clone <repository-url>
cd bridgehealth- Install dependencies:
npm install- Create a
.envfile in theserverdirectory with the following variables:
PORT=3000
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
AWS_ACCESS_KEY_ID=your_aws_key
AWS_SECRET_ACCESS_KEY=your_aws_secret
GCS_BUCKET_NAME=your_gcs_bucket
EMAIL_HOST=your_email_host
EMAIL_USER=your_email_user
EMAIL_PASS=your_email_passwordnpm run devnpm run serverYou may want to use a tool like concurrently to run both servers at once, or open separate terminal windows.
npm run buildnpm run previewnpm run dev- Start Vite development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run server- Start Express backend with nodemonnpm start- Launch Electron app
bridgehealth/
├── client/ # Vue.js frontend
│ ├── src/
│ └── vite.config.js
├── server/ # Express.js backend
│ └── index.js
└── package.json
- User authentication with JWT
- Secure password hashing
- File upload and storage
- Email notifications
- Blockchain integration (Solana)
- Cloud storage (AWS S3, Google Cloud Storage)
- RESTful API
- Responsive design
- Passwords are hashed using bcrypt
- JWT tokens for secure authentication
- Constant-time buffer comparison for security-sensitive operations
- CORS enabled for cross-origin requests
ISC
Contributions are welcome! Please feel free to submit a Pull Request.
For issues and questions, please open an issue in the repository.