Simple API developed with Node.js and Typescript, which includes a series of Serverless Functions to deploy with Vercel, and which also includes an ApolloServer with the apollo-server-micro
library. Added also mongoose
and some MongoDB models to then switch to a real database instead of mocked data.
https://grapqhl-serverless-micro.vercel.app/api/users GET ALL USERS https://grapqhl-serverless-micro.vercel.app/api/users/{userId} GET USER BY ID https://grapqhl-serverless-micro.vercel.app/api/graphql GRAPHQL STUDIO
- Connect with MongoDB Database