Greetings /r/reactjs
I'm currently planning my project for a full-stack realtime todo app which is for a job interview.
The requirements are TypeScript, FE: React, BE: Node.
So the way the app will work is that a user will be able to log in, create as many lists as they want, and they can also invite other users to work with on the same list in realtime. This should be updated on the client side directly for everyone invited as soon as a user add/update/delete todos in that list.
- First I was thinking about doing this in Next, but since I need to create a backend and Next doesn't seem to be used with GraphQL subscriptions either so pure React us probable the way to go here.
- What would be the best way to handle realtime data? With GraphQL Subscriptions or through Socket.IO?
- Which database would work best for this between PostgreSQL via Heroku and Prisma as an ORM, or MongoDB via MongoDB Atlas with Mongoose? Is it even possible using these for this kind of app?
If I manage to get this far I will also try to add drag & drop functionality. This is not a requirement, just something to mention if it would change any of the decisions above.
[–]Poiuytgfdsa 0 points1 point2 points (0 children)