Backend API for the WAAMSorters application to manage sorters, users, shops and game developers
Sorters CRUD funcionality
Create new sorter in database - Admin
Key | Value | Description |
---|---|---|
Content-Type | application/json |
JSON Type |
Fetch all sorters from data base - Public
Fetch single sorter by ID - Public
Get list of location of sorters using zipcode and distance - Public
Update single sorter with unique ID - Admin
Key | Value | Description |
---|---|---|
Content-Type | application/json |
JSON Type |
Delete single sorter with unique ID - Admin
ROutes for user authentication including register, reset password, login etc
Register user with encrypted password for - Public
Key | Value | Description |
---|---|---|
Content-Type | application/json |
JSON Type |
Login user with e-mail and password - Public
Key | Value | Description |
---|---|---|
Content-Type | application/json |
JSON Type |
Generate password token and send email - Public
Key | Value | Description |
---|---|---|
Content-Type | application/json |
JSON Type |
Get logged information - Only for account owner and
Admin.
Key | Value | Description |
---|---|---|
Content-Type | application/json |
JSON Type |
Cleare token cookie of user account. - Only for account
owner.
Confirmation of user registration. You received on email link for
confirmation. - Only for account owner.
Reset password for user with token . - Only for account
owner.
Key | Value | Description |
---|---|---|
Content-Type | application/json |
JSON Type |
Update name and email adress on user account. - Only for
account owner and Admin.
Key | Value | Description |
---|---|---|
Content-Type | application/json |
JSON Type |
Update user password, send in the body currentPassword and
newPassword. - Only for account owner.
Key | Value | Description |
---|---|---|
Content-Type | application/json |
JSON Type |
CRUD functionlaity for users only availeble to admins
Create new usser with password, name and email - Admin
Key | Value | Description |
---|---|---|
Content-Type | application/json |
JSON Type |
Get full list of all users - Admin
Get user with ID - access only for Admin
Find by ID and update user account - Admin
Key | Value | Description |
---|---|---|
Content-Type | application/json |
JSON Type |
Delete user with ID - Admin
Key | Value | Description |
---|---|---|
Content-Type | application/json |
JSON Type |
Create new product game in data base . - Admin
Key | Value | Description |
---|---|---|
Content-Type | application/json |
JSON Type |
Get list of all available products - Public
Get info of single product with ID - Public
Upload photo for product with ID - Admin
Key | Value | Description |
---|---|---|
file |
Update information of single product - Admin
Key | Value | Description |
---|---|---|
Content-Type | application/json |
JSON Type |
Delete product form database. - Admin
Methods for get, update, post etc charity events in WAAM Aplication
Create new charity event, need put organization and category. - Admin
Key | Value | Description |
---|---|---|
Content-Type | application/json |
JSON Type |
Get all charity events - Public
Get info of single charity event - Public
Upload photo for charity event with ID - Admin
Key | Value | Description |
---|---|---|
file |
Update info of single charity event - Admin
Key | Value | Description |
---|---|---|
Content-Type | application/json |
JSON Type |
Delete of single charity event - Admin
Education products such us e-course also ebooks and audio-books
Create new education product such as e-course/ebook/audiobook. -
Admin
Key | Value | Description |
---|---|---|
Content-Type | application/json |
JSON Type |
StartFragment
Get all education products - Public
EndFragment
Get single education product with ID. - Public
Upload photo for education product with ID. - Admin
Key | Value | Description |
---|---|---|
file |
Update education product, you can change description. - Admin
Key | Value | Description |
---|---|---|
Content-Type | application/json |
JSON Type |
Delete education product. - Admin