Skip to content

codesphere-cloud/krankenhaus-marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ₯ KIS Marketplace - Hospital Application Catalog

A modern, professional marketplace application for hospital software services with integrated pricing, deployment, and service management capabilities.

Node.js Express.js EJS TailwindCSS

✨ Features

πŸͺ Marketplace Catalog

  • Responsive grid layout with application cards
  • Comprehensive pricing display with multiple pricing models
  • Status badges with color coding (Available, Pilot Started, Planning)
  • Feature highlights and application details
  • One-click deployment buttons

πŸ’° Pricing Models

  • Per-User Pricing: €15.99/month per user
  • Usage-Based: €89.99/month + €0.05 per GB
  • Per-Session: €49.99/month + €12.50 per session
  • Flat Rate: €299.99/month
  • Enterprise: €2,499.99/month

πŸš€ Deployment Workflow

  • Interactive pricing calculator with real-time updates
  • Configuration forms based on pricing model
  • Setup fee calculation and total cost estimation
  • Terms acceptance and deployment confirmation

πŸ“Š Service Management Dashboard

  • Active services overview with deployment status
  • Monthly and annual cost tracking
  • Service configuration management
  • One-click service removal

🎨 Professional Design

  • Clean, modern hospital-themed interface
  • Emerald green accent colors for medical environment
  • Inter font for excellent readability
  • Lucide icons for visual appeal
  • Fully responsive design

πŸš€ Quick Start

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn

Installation

  1. Clone the repository

    git clone https://github.com/alexvcodesphere/krankenhaus-marketplace.git
    cd krankenhaus-marketplace
  2. Install dependencies

    npm install
  3. Start the development server

    npm run dev
  4. Access the application

    http://localhost:3000
    

πŸ“‚ Project Structure

krankenhaus-marketplace/
β”œβ”€β”€ views/                 # EJS templates
β”‚   β”œβ”€β”€ catalog.ejs       # Main marketplace view
β”‚   β”œβ”€β”€ detail.ejs        # Application detail view
β”‚   β”œβ”€β”€ deploy.ejs        # Deployment configuration
β”‚   β”œβ”€β”€ services.ejs      # User dashboard
β”‚   └── 404.ejs          # Error page
β”œβ”€β”€ public/               # Static assets
β”‚   └── style.css        # Custom styles
β”œβ”€β”€ data.json            # Application data
β”œβ”€β”€ server.js            # Express server
└── package.json         # Dependencies

πŸ› οΈ Available Scripts

  • npm start - Start production server
  • npm run dev - Start development server with auto-reload
  • npm install - Install dependencies

πŸ”§ Configuration

Application Data Structure

Each application in data.json follows this structure:

{
  "id": "unique-app-id",
  "title": "Application Name",
  "developer": "Company Name",
  "version": "1.0.0",
  "category": "Category",
  "description": "Application description",
  "status": "VerfΓΌgbar|Pilot gestartet|Planung",
  "icon": "lucide-icon-name",
  "pricing": {
    "model": "per_user|usage|per_session|flat|enterprise",
    "basePrice": 15.99,
    "currency": "EUR",
    "period": "month",
    "usagePrice": 0.05,
    "usageUnit": "GB/month",
    "setupFee": 299.99
  },
  "license": "License Type",
  "features": ["Feature 1", "Feature 2", "Feature 3"]
}

Pricing Models

  1. Per-User: basePrice * numberOfUsers
  2. Usage-Based: basePrice + (usagePrice * estimatedUsage)
  3. Per-Session: basePrice + (usagePrice * sessionsPerMonth)
  4. Flat Rate: Fixed basePrice
  5. Enterprise: Custom basePrice

🎯 API Endpoints

Method Endpoint Description
GET / Main marketplace catalog
GET /app/:id Application details
GET /deploy/:id Deployment configuration
POST /deploy/:id Deploy application
GET /services User services dashboard
DELETE /services/:id Remove deployed service

🎨 Design System

Colors

  • Primary: Emerald Green (#10b981)
  • Background: Light Gray (#f8fafc)
  • Text: Slate (#334155)
  • Accent: Blue, Yellow for status badges

Typography

  • Font Family: Inter (Google Fonts)
  • Headings: Semibold to Bold weights
  • Body: Regular weight with good line-height

Components

  • Cards: Rounded corners, subtle shadows
  • Buttons: Emerald primary, white secondary
  • Badges: Color-coded status indicators
  • Icons: Lucide icon library

πŸ”’ Security Considerations

  • Input Validation: Form data validation
  • CSRF Protection: Recommended for production
  • Rate Limiting: Recommended for deployment endpoints
  • Authentication: Ready for integration

πŸš€ Deployment

Local Development

npm run dev

Production

npm start

Environment Variables

PORT=3000
NODE_ENV=production

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“ License

This project is licensed under the ISC License.

πŸ† Features Roadmap

  • User authentication system
  • Payment integration (Stripe/PayPal)
  • Application reviews and ratings
  • Advanced filtering and search
  • API documentation
  • Admin dashboard
  • Multi-language support
  • Email notifications

πŸ“ž Support

For support and questions, please open an issue on GitHub.


Built with ❀️ for the healthcare industry

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors