This is a GraphQL Application that was build based on the GraphQL.js tutorial on the How to GraphQL Website. This project is a GraphQL API designed for a Hacker News clone ( i.e the API is designed for an application with similar features as the Hacker News). Users can view a feed of links to various resources along with a description of what the links entails. In this application Complete CRUD (CREATE , READ, UPDATE and DELETE) actions can be performed on the links by logged-in users.
The following steps can be taken to setup this application locally.
git clone https://github.com/JCanaks/hackernews-node-graphql.git
cd hackernews-node-graphql
yarn install
yarn global add prisma
prisma deploy
NOTE: When promted to specify where to deploy your service, choose the Demo Server which can be used for free in Prisma Cloud (You will be asked to register with Prisma Cloud via Github if you haven't done so previously).
yarn start # To start the server
yarn dev-start # For development purposes
Navigate to http://localhost:4000 to test the API with the GraphQL playground and you are Good to Go! 🎉🎉