Giter Site home page Giter Site logo

idp-proiect's Introduction

Services

1. Portainer

  • Description: Portainer is a lightweight management UI for Docker environments.
  • Access: Access the Portainer dashboard at http://localhost:9443.
  • Credentials: No credentials required.

2. PostgreSQL Database

  • Description: PostgreSQL database for storing application data.
  • Credentials:
    • Username: postgres
    • Password: postgres
    • Database: database

3. IO Service

  • Description: Microservice for handling IO operations.
  • Dependencies: Depends on PostgreSQL database.
  • Endpoints:
    • /io/users: Retrieve users data.
    • /io/reservations: Retrieve reservations data.
    • /io/workspaces: Retrieve workspaces data.

4. Authentication Service

  • Description: Microservice for user authentication and authorization.
  • Dependencies: Depends on PostgreSQL database.
  • Endpoints:
    • /auth/register: Register a new user.
    • /auth/login: User login to generate authentication token.
    • /auth/logout: User logout to invalidate token.
    • /auth/users: Retrieve users data.

5. Flask Service

  • Description: Microservice providing backend functionality.
  • Dependencies: Depends on IO Service for data operations.
  • Endpoints:
    • /api/workspace: Create a new workspace.
    • /api/workspace/<workspace_id>: Delete a workspace.
    • /api/workspaces: List all workspaces.
    • /api/reservation: Make a new reservation.
    • /api/reservations/<user_id>: List all reservations for a user.
    • /api/reservation/<reservation_id>: Delete a reservation.
    • /api/available-slots/<workspace_id>: Check available time slots for a workspace.

6. Kong

  • Description: Kong API gateway for managing API traffic.
  • Routes:
    • Authentication Service endpoints.
      • /auth/register
      • /auth/login
      • /auth/logout
      • /auth/users
    • Flask Service endpoints.
      • /api/workspace
      • /api/workspace/<workspace_id>
      • /api/workspaces
      • /api/reservation
      • /api/reservations/<user_id>
      • /api/reservation/<reservation_id>
      • /api/available-slots/<workspace_id>
    • IO Service endpoints.
      • /io/users
      • /io/reservations
      • /io/workspaces
  • Access: Routes can be accessed through Kong API gateway.

7. Grafana

  • Description: Grafana for monitoring and analyzing metrics.
  • Access: Access Grafana dashboard at http://localhost:3000.
  • Credentials:
    • Username: admin
    • Password: admin

8. Prometheus

  • Description: Prometheus for monitoring metrics.
  • Access: Access Prometheus dashboard at http://localhost:9090.

Setup Instructions

Install docker*, download the docker-compose.yml file and run docker deploy -c docker-compose.yml stack-name.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.