This service provides a graphql interface for retrieving customer information, and serves the client app.
-
NodeJS v12 with Typescript
-
GraphQL - We use a GraphQL API here to minimize client requests and client reconstruction of object relationships.
-
Apollo Server - Provides a Graphql server framework
-
Express - Provides middleware for our server and defining routing aside from the graphql endpoint
-
Postgres - Postgres is used as our database for customer data
-
Prisma - Used as our ORM with the Postgres DB
- It offers a lightweight Schema based ORM configuration
- Client offers easeful strategies for n+1 avoidance in graph based queries
- Has utilties for migrations and seeding
Use the yarn commands in the project root.