Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance/rest nextjs api routes #4975

Open
wants to merge 7 commits into
base: latest
Choose a base branch
from

Commits on Jul 21, 2023

  1. Refractor

    Refractor code to match community standards
    - Removed unnecessary React.FC syntax from components folder
    - update .gitignore to ingore package-lock files
    mayank1513 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    992cf63 View commit details
    Browse the repository at this point in the history
  2. Refractor

    Refractor code to match community standards
    - Extract Layout to _app.tsx
    mayank1513 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    87779a3 View commit details
    Browse the repository at this point in the history
  3. Uniformly use absolute path with aliases

    - removed long `../..` pattern
    - makes refactoring/rearranging files easy
    mayank1513 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    2dd5cb9 View commit details
    Browse the repository at this point in the history
  4. Refractor

    Refractor code to match community standards
    - Removed unnecessary React.FC syntax from pages
    mayank1513 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    ac01f3b View commit details
    Browse the repository at this point in the history
  5. Clarify presentation

    - There is no login or signup mechanism.
    - Signup button adds new author
    - This commit simply renames UI text to reflect that more clearly
    mayank1513 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    54f510d View commit details
    Browse the repository at this point in the history
  6. Change AuthorEmail TextBox to Select

    - Change authorEmail Input field to select
    - This is much better as Author email must exist in users table
    - fix imports
    mayank1513 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    e485fa0 View commit details
    Browse the repository at this point in the history
  7. Remove Legacy behaviour

    - fixes prisma#4974
    mayank1513 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    b6c9a24 View commit details
    Browse the repository at this point in the history