-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from Tech-Harbor/Bezsmertnyi
Bezsmertnyi | http, fix, Update jwt
- Loading branch information
Showing
10 changed files
with
93 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
Backend project marketplace | ||
Backend project oranger | ||
|
||
[Вимоги до API](https://github.com/Tech-Harbor/oranger_backend/blob/dev/documentation/Requirements.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
###Update Passsword JWT | ||
PUT http://localhost:8080/api/change-password | ||
Content-Type: application/json | ||
Authorization: Bearer | ||
|
||
{ | ||
"password": "Password325231" | ||
} | ||
|
||
###LinkEmail | ||
POST http://localhost:8080/api/request/email | ||
Content-Type: application/json | ||
|
||
{ | ||
"email": "[email protected]" | ||
} | ||
|
||
###Register | ||
POST http://localhost:8080/api/auth/signup | ||
Content-Type: application/json | ||
|
||
{ | ||
"lastname": "Vladik", | ||
"firstname": "Bezsmertnyi", | ||
"password": "Passwordq134", | ||
"phone": "380732157991", | ||
"email": "[email protected]" | ||
} | ||
|
||
###Login | ||
POST http://localhost:8080/api/auth/login | ||
Content-Type: application/json | ||
|
||
{ | ||
"email": "[email protected]", | ||
"password": "Passwordq134" | ||
} | ||
|
||
###Active User, JWT TOKEN | ||
POST http://localhost:8080/api/active | ||
Content-Type: application/x-www-form-urlencoded | ||
Authorization: Bearer | ||
|
||
|
||
###Accouth | ||
GET http://localhost:8080/api/accouth | ||
Content-Type: application/x-www-form-urlencoded | ||
|
||
###Active Not Users | ||
POST http://localhost:8080/api/sendEmailRegister |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
### Вимоги до Oranger API, cкладаються з таких пунктів: | ||
|
||
1 Архітектура проекту | ||
1.1 Кожен пакет проекту повинен відноситися лише до одної логіки цього пакету. | ||
2 Класи і методи проекту | ||
2.1 Кожна назва класу повинена передати всю логіку цього класу. | ||
2.2 Кожен клас який має метод який не стосується логіки класу, повинен бути перенесений в новий клас цього | ||
пакету (або в інший пакет за потребою). | ||
2.3 Назва метода повинна передавати основну логіку або функціональність, яку він виконує. | ||
2.4 Кожен клас, що включений в цей класи, повинні бути використаними. | ||
3 Кожна залежність яка є в build.gradle повинна бути використана в API, обов'язково. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ spring: | |
provider: | ||
google: | ||
user-name-attribute: email | ||
|
||
mail: | ||
host: ${MAIL_HOST} | ||
port: ${MAIL_PORT} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters