![]() ![]() This code starts a server and listens on port 4000. You can skip this section if you're familiar with this process.Įnter fullscreen mode Exit fullscreen mode Jump into your terminal, create the directory and push the code up to a new repository in Github. A free Heroku account for deploying the API.This is not required if you use something else for serving postgres locally Git and Node.js installed on your machine.You'll need to ensure you have the following setup in order to complete this tutorial: ![]() Here's the Github repository if you'd like to review the code. Why? Probably because Heroku offers a free plan and the developer experience for Prisma and Apollo is □. I've noticed this tech stack rise in popularity in recent times. When we're done, we'll have a GraphQL server that can be used by a front end to query and persist data from a Postres database. This is a quick start guide to setting up a GraphQL API using Express, Apollo Server, Prisma, Heroku, Postgres, Docker and TypeScript. ![]()
0 Comments
Leave a Reply. |