hanseaston / pandemic-produce-delivery-project

An open-source e-commerce shop using React, Express, Firebase, and MongoDB. Designed for pandemic-relief and social good. The project is no longer actively maintained, but feel free to fork and use for your own purpose!
MIT License
26 stars 38 forks source link

A new approach, FrontEnd: Apollo + GraphQL, BackEnd: Node + GraphQL + Prisma + SQL DB #28

Open hanseaston opened 4 years ago

hanseaston commented 4 years ago

Here's new way of organizing our project.

We would potentially switch to using Apollo and Node, based on sending and fetching data GraphQL.

From the backend, we will naturally use Prisma and connect it to a SQL database (e.x. Postgres). Prisma is a good choice because it is an database abstraction layer that works really well with GraphQL. This will drastically alter the structure of our project, since we are converting from using REST to GraphQL and from NoSQL to SQL. We are forsaking mongoDB and potentially even redux.

Right now, I have created a new branch named apollo-node-prisma that serves as the starting point of the milestone. I want to know who might be interested in this idea of transformation, and whether transforming our project at this point is actually feasible or not. I don't think this should a given a high priority just because this is only an alternative way of doing things, and should be thought as a good way to practice, learn new tools, and see a full-stack application from a different perspective.

Please let me know what you think of this idea and whether you would like to get started working on this. If you have any questions or need some clarification, please let me know also!