You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's some opportunity to discuss and review the intended tech stack of the project.
The starting point has been to try to stick close to the tech stack of Realities, with the explicit exception of its graph database, as it seems overkill for the use case here, and choose something more conventional.
I think a general ambition of the tech stack should be to have as few surprises as possible, and choose technology that a lot of people are already using, to lower the barriers for someone wanting to contribute.
Suggested stack:
UI: React, Next.js, Apollo Client
API: GraphQL server using Node.js, Apollo and PostgreSQL (?)
Next.js is not used in Realities, but I can very much recommend it. It takes care of a lot of complexity around webpack, server side rendering, and routing.
Database
I've been thinking that PostgresSQL should be a pretty non-controversial choice, but would also be happy to work with MongoDB. Feedback and input here would be welcome, also on what ORM if any, to use.
The text was updated successfully, but these errors were encountered:
I tried setting up a basic data model of users, memberships, events and dreams in PostgreSQL using something called Prisma2, and hooking up the resolvers to its database client Photon. The result of that you can find in the prisma branch (model definition, resolvers). Prisma2 seemed promising but it is still in Preview and it required a little bit of a special setup, and might not live up to the ambition of having as few surprises as possible. Using a more traditional ORM for SQL is of course a possibility, but personally I did not want to sink more time into this, so I went with something I've used in the past quite a bit: Mongoose and MongoDB.
I think the hosted database options are speaking in favour of MongoDB as well:
Here's some opportunity to discuss and review the intended tech stack of the project.
The starting point has been to try to stick close to the tech stack of Realities, with the explicit exception of its graph database, as it seems overkill for the use case here, and choose something more conventional.
I think a general ambition of the tech stack should be to have as few surprises as possible, and choose technology that a lot of people are already using, to lower the barriers for someone wanting to contribute.
Suggested stack:
Next.js is not used in Realities, but I can very much recommend it. It takes care of a lot of complexity around webpack, server side rendering, and routing.
Database
I've been thinking that PostgresSQL should be a pretty non-controversial choice, but would also be happy to work with MongoDB. Feedback and input here would be welcome, also on what ORM if any, to use.
The text was updated successfully, but these errors were encountered: