-
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.
CreateAuthor with Mongo just need to add roles now
- Loading branch information
Showing
15 changed files
with
444 additions
and
6 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
15 changes: 15 additions & 0 deletions
15
...ava/com/calerts/computer_alertsbe/authorsubdomain/presentationlayer/AuthorRequestDTO.java
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,15 @@ | ||
package com.calerts.computer_alertsbe.authorsubdomain.presentationlayer; | ||
|
||
import com.calerts.computer_alertsbe.authorsubdomain.datalayer.Biography; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
|
||
@Data | ||
@AllArgsConstructor | ||
public class AuthorRequestDTO { | ||
private String emailAddress; | ||
private String password; | ||
private String firstName; | ||
private String lastName; | ||
private Biography biography; | ||
} |
15 changes: 15 additions & 0 deletions
15
.../calerts/computer_alertsbe/authorsubdomain/presentationlayer/AuthorResponseModelAuth.java
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,15 @@ | ||
package com.calerts.computer_alertsbe.authorsubdomain.presentationlayer; | ||
|
||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
|
||
@Data | ||
@AllArgsConstructor | ||
public class AuthorResponseModelAuth { | ||
private String authorId; | ||
private String emailAddress; | ||
private String firstName; | ||
private String lastName; | ||
private String auth0UserId; | ||
} |
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
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
8 changes: 8 additions & 0 deletions
8
computer_alerts-fe/src/features/authors/model/AuthorRequestDTO.ts
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,8 @@ | ||
export default interface AuthorRequestDTO { | ||
emailAddress: string; | ||
firstName: string; | ||
lastName: string; | ||
password: string; | ||
// biography: string; | ||
connection: string; | ||
} |
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
18 changes: 18 additions & 0 deletions
18
computer_alerts-fe/src/pages/AdminPages/AdminAuthors/AdminAuthorsPage.tsx
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,18 @@ | ||
import React from "react"; | ||
import { Link } from "react-router-dom"; | ||
|
||
const AdminAuthorsPage: React.FC = () =>{ | ||
|
||
|
||
return( | ||
<div className="container"> | ||
<div className="row"> | ||
<h1>Hello</h1> | ||
<Link to="/admin/createAuthor"> | ||
Create Author | ||
</Link> | ||
</div> | ||
</div> | ||
) | ||
} | ||
export default AdminAuthorsPage; |
Oops, something went wrong.