Skip to content

JCanaks/hackernews-node-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hackernews Application

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.

Tecnologies Used

Setup

The following steps can be taken to setup this application locally.

1. Clone the Repository
git clone https://github.com/JCanaks/hackernews-node-graphql.git
2. Move into the project directory
cd hackernews-node-graphql
3. Install Dependencies
yarn install
4. Install the Prisma CLI
yarn global add prisma
5. Deploy Prisma and database
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).

6. Start the server and launch the Graphql Playground
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! 🎉🎉

About

hackernews-node-graphql

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published