1. Что-то
2. Что-то
1. DATABASE_URL="postgresql://user:password@localhost:5432/database?schema=public"
2. JWT_SECRET="for jwt secret"
3. COOKIE_SECRET="for cookie secret"
4. PORT=port server
5. MAIL_HOST=host email smtp
6. MAIL_USER=email sender
7. MAIL_PASSWORD=email password
8. MAIL_RECIPIENT=email recipient
- PREFIX=/api
-
PREFIX=/user
-
getAll
- method=GET
- path=/all
- query=?deleted=bool
-
getInfo
- method=GET
- path=/info
- query=?roles=bool
-
create
- method=POST
- path=/
-
update
- method=PATCH
- path=/:id
-
remove
- method=DELETE
- path=/:id
-
PREFIX=/category
-
getAll
- method=GET
- path=/
-
getById
- method=GET
- path=/:id
-
update
- method=PATCH
- path=/:id
- PREFIX=/products
-
PREFIX=/furniture
-
getAll
- method=GET
- path=/
-
getById
- method=GET
- path=/:id
-
update
- method=PATCH
- path=/:id
-
remove
- method=DELETE
- path=/:id
-
PREFIX=/house
-
getAll
- method=GET
- path=/
-
getById
- method=GET
- path=/:id
-
update
- method=PATCH
- path=/:id
-
remove
- method=DELETE
- path=/:id
-
PREFIX=/plywood
-
getAll
- method=GET
- path=/
-
getById
- method=GET
- path=/:id
-
update
- method=PATCH
- path=/:id
-
remove
- method=DELETE
- path=/:id
- query=?hard=bool
-
PREFIX=/plywood-format
-
getAll
- method=GET
- path=/
- query=?group=bool
-
getById
- method=GET
- path=/:id
-
update
- method=PATCH
- path=/:id
-
remove
- method=DELETE
- path=/:id
-
PREFIX=/plywood-surface
-
getAll
- method=GET
- path=/
-
getById
- method=GET
- path=/:id
-
update
- method=PATCH
- path=/:id
-
remove
- method=DELETE
- path=/:id
-
PREFIX=/plywood-sort
-
getAll
- method=GET
- path=/
-
getById
- method=GET
- path=/:id
-
update
- method=PATCH
- path=/:id
-
remove
- method=DELETE
- path=/:id
-
PREFIX=/plywood-type
-
getAll
- method=GET
- path=/
-
getById
- method=GET
- path=/:id
-
update
- method=PATCH
- path=/:id
-
remove
- method=DELETE
- path=/:id
-
PREFIX=/plywood-coating-density
-
getAll
- method=GET
- path=/
-
getById
- method=GET
- path=/:id
-
update
- method=PATCH
- path=/:id
-
remove
- method=DELETE
- path=/:id