Client created with Apollo Client and React for the server code here.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
express-graphql-jwt-auth is built as a boilerplate code for starting graphql applications faster.
To get a local copy up and running follow these simple steps.
First of all be sure you have node installed on your computer. You can find detailed instructions here to install node.
- node
node -v
I prefer yarn, it is a personal choice.
- yarn
npm install yarn -g
In order to create graphql types, I use graphql-code-generator. Please install the CLI. You can create types with yarn gen
command after having the cli.
-
Clone the repo
git clone https://github.com/uguremirmustafa/express-graphql-jwt-auth.git
-
Install NPM packages
yarn # OR npm install
-
Move .env.example to .env and fill in the keys
mv .env.example .env
-
Start the server and head to http://localhost:4000/graphql
yarn dev # OR npm run dev
You can find some screenshots of the project.
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Uğur Emirmustafa - @uguremirmustafa - uguremirmustafa@gmail.com
Project Link: https://github.com/uguremirmustafa/express-graphql-jwt-auth