Skip to content

Commit

Permalink
Merge pull request #9 from WildCodeSchool/documentation/s01.5_general…
Browse files Browse the repository at this point in the history
…_umlSequence

Documentation/s01.5 general uml sequence
  • Loading branch information
Dolpheus89 authored Nov 27, 2024
2 parents 7629434 + 8ffbd35 commit 2c7edd9
Show file tree
Hide file tree
Showing 14 changed files with 109 additions and 2 deletions.
File renamed without changes.
81 changes: 81 additions & 0 deletions _ressources/conception_ressources/SequenceDiagrams.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Sequence Diagrams

## Table of Contents

### Authentification

1. [Registration Sequence](#registration-sequence)
2. [Login Sequence](#login-sequence)
3. [Logout Sequence](#logout-sequence)

### Visitor functions

1. [Find Trainer Sequence](#find-trainer-sequence)

### Appointment booking

1. [Create Appointment Sequence](#create-appointment-sequence)
2. [Read Appointment Sequence](#read-appointment-sequence)
3. [Update Appointment Sequence](#update-appointment-sequence)
4. [Delete Appointment Sequence](#delete-appointment-sequence)

---

## Registration Sequence

[Back to Top](#table-of-contents)

![UML Diagram Use Case of PawPlanner](./assets/sequences/register.svg)


## Login Sequence

[Back to Top](#table-of-contents)

![UML Diagram Use Case of PawPlanner](./assets/sequences/login.svg)

## Logout Sequence

[Back to Top](#table-of-contents)

![UML Diagram Use Case of PawPlanner](./assets/sequences/logout.svg)

---
---

## Find Trainer Sequence

[Back to Top](#table-of-contents)

![UML Diagram Use Case of PawPlanner](./assets/sequences/findTrainer.svg)


---
---


## Create Appointment Sequence

[Back to Top](#table-of-contents)

![UML Diagram Use Case of PawPlanner](./assets/sequences/createEvent.svg)

## Read Appointment Sequence

[Back to Top](#table-of-contents)

![UML Diagram Use Case of PawPlanner](./assets/sequences/readEventsByTrainerId.svg)

## Update Appointment Sequence

[Back to Top](#table-of-contents)

![UML Diagram Use Case of PawPlanner](./assets/sequences/updateEvent.svg)

## Delete Appointment Sequence

[Back to Top](#table-of-contents)

![UML Diagram Use Case of PawPlanner](./assets/sequences/deleteEvent.svg)


Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions _ressources/conception_ressources/assets/sequences/login.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions _ressources/conception_ressources/assets/sequences/logout.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

##### The UML Use Case diagram for PawPlanner illustrates the interactions between trainer(s) and the app to schedule services, manage timetables, and allow owner to sign up for activities.

![UML Diagram Use Case of PawPlanner](image.png)
![UML Diagram Use Case of PawPlanner](./useCase.png)
File renamed without changes
4 changes: 3 additions & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "ts-node-dev --respawn ./src/index.ts"
"start": "ts-node-dev --respawn ./src/index.ts",
"lint": "../node_modules/@biomejs/biome/bin/biome lint --write ./src",
"format": "../node_modules/@biomejs/biome/bin/biome format --write ./src"
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit 2c7edd9

Please sign in to comment.