Skip to content

varunsree/samplenode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Sample Node

Sample node application with api end point and graphql mplementation

Installation

install packages

npm install

npm start

Usages

#API CALL 
app.get('/listUsers', function (req, res) {

});

Graphql UP

var { graphqlExpress, graphiqlExpress } = require("graphql-server-express");

app.use("/myapp/graphql", bodyParser.json(), graphqlExpress({ schema }));
app.use("/myapp/graphiql", graphiqlExpress({ endpointURL: "/myapp/graphql" }));


##node express installation tutorial link

https://expressjs.com/en/starter/installing.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published