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

Improve Next.js Rest API example #4974

Open
2 tasks done
mayank1513 opened this issue Jul 21, 2023 · 0 comments · May be fixed by #4975
Open
2 tasks done

Improve Next.js Rest API example #4974

mayank1513 opened this issue Jul 21, 2023 · 0 comments · May be fixed by #4975

Comments

@mayank1513
Copy link
Contributor

mayank1513 commented Jul 21, 2023

  • Refractor code to match community standards
    - [ ] Remove unnecessary React.FC syntax
    - [ ] Extract Layout to _app.tsx (No need to add layout on every page)
    - [ ] Use absolute path uniformly - remove import ../.., etc.
  • Update UI to reflect functionality properly
    - [ ] SignUp button should be renamed to "Add Author"
    - [ ] /signup route should be renamed to /add-author
    - [ ] On create post page, email input should be changed to select (As only those emails that exists in users table can be added there)
    - [ ] Remove legacyBehaviour and update links
mayank1513 added a commit to mayank1513/prisma-examples that referenced this issue Jul 21, 2023
@mayank1513 mayank1513 linked a pull request Jul 21, 2023 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant