-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
[Feature] Submission & XP System #7
Comments
I think if want to make an XP system, we need to build the our own back-end application 😅 With custom back-end app, maybe we can also make people can submit the design asset through the website. |
I see, my concern is about the deployment, what option for the deployment, then? I think we can do a full-stack Next JS with the Planetscale database, they have got pretty good a free plan. |
I think full-stack NextJS with Planetscale database is a good idea. |
does it also mean to have badges system? |
Yeah, it is on my todo-list. But, for now, let's have the submission page first, so the dev could publish the solutions and share them with the world! |
Whoa, such a nice diagram! Yes, we can use GitHub provider, but we still need to find a way to persist the user login information on the client. I've tried to implement the session-based auth system, but the problem is we use Next JS 13 appDir feature, so the session API is still read-only. But we can use JWT as an alternative, or maybe you have another option. |
its a great idea to use JWT, I've been using next-auth to handle authentication system with appDir. I'll go first with PR login system. |
Oh, sounds good! |
Hi, new here, Sorry just barged in out of nowhere 😅. I suggest using trpc for custom backend and we can easily integrate it with next auth also, like t3-stack
|
Alternatively, we can use https://strapi.io/ For the point system as plugin: https://strapi.io/blog/how-to-build-a-strapi-custom-plugin |
Let's have the submission page and the XP system to make the challenge more engaging.
Submission is a page that would allow the dev to upload their challenge's solution. Each submission contains at least a description, demo URL, and tech stack information.
All the submissions would go through the approval system, and after the submission is approved, the dev would earn some XPs.
I still don't have any idea about the tech that we can use, but I think the GitHub repository's issues API would be the easier way to implement. But, we still need to find a way to store the user's XP data.
I don't want to build an entire back-end infrastructure only for this feature to be implemented.
Some other advanced options:
Let's have a discussion.
The text was updated successfully, but these errors were encountered: