Skip to content

Commit

Permalink
add final project; b00tc4mp#167
Browse files Browse the repository at this point in the history
  • Loading branch information
j0sep0z0 committed May 19, 2024
1 parent fb2004e commit a7a73f6
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.md

This file was deleted.

86 changes: 86 additions & 0 deletions staff/jose-pozo/project/doc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Cool Steps

An app for renting and lending ladders.

![](https://media.giphy.com/media/m9pvbkBJzOY9Mt0dSm/giphy.gif?cid=790b761118teuaz0ojtj0vsytuoevmgff91t460gpic3jk80&ep=v1_gifs_search&rid=giphy.gif&ct=g)

## Functional

### Use Cases

User | Admin | Root

- publish a ladder (for renting or selling)
- search ladders (with filter)
- rent a ladder (by day, period, ...)
- buy a ladder
- chat with ladder owner
- report a ladder owner
- see owner reviews (by rating)
- see ladder reviews (by rating)

Admin | Root

- list latest reportings (from users)
- view a report
- reply to a report
- deactivate a user
- ...

Root

- list admin users
- view admin user
- deactivate admin user
- register new admin user
- ...

### UI Design

[Figma](https://www.figma.com/design/FtmTtX9cZewWlv6yqsj4nu/demo-app?node-id=0-1&t=tNho9NZQl4l4RETJ-0)

## Technical

### Data Model

User

- id (auto)
- name (string, required)
- surname (string, required)
- email (string, required)
- password (string, required)
- role (string, required, default regular, enum: regular|admin|root)

Ladder

- id (auto)
- owner (User.id, required)
- title (string, required)
- description (string, required)
- type (string, required, default plain, enum: plain|angular|extensible|...|other)
- height (number, required)
- weight (number, required)
- maxLoad (number, required)
- age (number, required)
- material (string, required, enum: wood|aluminium|...|other)
- brand (string)
- model (string)
- price (number, required)
- kind (string, required, enum: renting|sale)
- address (string, required)

Deal

- id (auto)
- provider (User.id, required)
- customer (User.id, required)
- ladder (Ladder.id, required)
- type (string, required, enum: renting|sale)
- date (date, required)
- price (number, required)
- fromDate (date)
- toDate (date)
- deposit (number)

...

0 comments on commit a7a73f6

Please sign in to comment.