Skip to content

rajohan/holidaze-api

Repository files navigation

Holidaze GraphQL API Server

To get the mail service working you will need to create a .env file with your SendGrid API key.

Ex: sendGridApiKey=mySendGridApiKey

Available Scripts

In the project directory, you can run:

yarn dev

Runs the server in the development mode.
Open http://localhost:8080/graphql for the GraphQL playground.

API endpoint to query/mutate data: http://localhost:8080/graphql

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn start

Runs the server in production mode (The GraphQL playground will be disabled)

API endpoint to query/mutate data: http://localhost:8080/graphql

NB: You will need to add the host of the app that performs querys/mutates to the allowedOrigins array in the config for it to have access to the API (http://localhost:3000 is added by default)

About

Holidaze GraphQL API Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published