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

Refactor to app/ directory #130

Draft
wants to merge 164 commits into
base: main
Choose a base branch
from
Draft

Refactor to app/ directory #130

wants to merge 164 commits into from

Conversation

MaxLeiter
Copy link
Owner

@MaxLeiter MaxLeiter commented Nov 10, 2022

There's a few goals here, generally listed in order of priority below. Any help is welcome! There's tons to do.

  1. Migrate to Next.js 13's app directory (https://beta.nextjs.org/docs)
  2. Migrate to Prisma as the ORM
  3. Remove the express server and replace with next API routes
  4. In app/, don't use /api calls but directly reference the prisma db when possible (in server components)
  5. Refactor API calls to not wait when unnecessary

This unblocks #126
Closes #124, closes #125, closes #79
Invalidates #66
Hopefully addresses #55

@MaxLeiter MaxLeiter marked this pull request as draft November 10, 2022 03:49
qwertzdenek and others added 2 commits May 13, 2023 00:00
* isAdmin should be based on role, not uid

* move admin link before sign in/out
@maltegrosse
Copy link

seems great progress, thank you.
can you also add a github action to automatically create some docker image and push them to dockerhub, see https://github.com/maltegrosse/docker-ddns-server/blob/master/.github/workflows/containers.yml

Added systemd units, both for use as root and normal user
Adds shadcn, bumps dependencies, overhaults lots of code.
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants