Skip to content

vibhanshu909/graphql-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add GraphQL Server to Svelte kit application

What is this?

This is an experimental project to run to add a GraphQL server (powered by apollo-server-lambda) to your SvelteKit project (works for both typescript & javascript).

Usage

You must start with a fresh copy of the official SvelteKit template, which is currently created by running this command.

npm init svelte@next

Once that is set up, run this command in your project directory to set up GraphQL:

npx apply vibhanshu909/graphql-server --no-ssh

After the preset runs,

  • You can visit GraphQL Playground in the browser at the /graphql endpoint.

  • You can query your API (with POST requests) at the /graphql endpoint.

😵 Help! I have a question

Create an issue and I'll try to help.

😡 Fix! There is something that needs improvement

Create an issue or pull request and I'll try to fix it.

📄 License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks