A GraphQL Server boilerplate
-
⚠️ Server uses Typeorm w/ Postgres so please make sure to have postgres installed. -
⚠️ Server also uses Redis so please make sure to have this installed.
- Apollo-server-express
- GraphQL Code Generator for generating graphql schema types.
- Jest
- Redis
- Typeorm w/ Postgres
- Typescript
- Clone git project
git clone https://github.com/Dolosolow/gql-typescript-server.git
- CD to project
cd gql-typescript-server
- Install dependencies
yarn install
- Install and start Redis server, after installation run
redis-server
-
Start PostgreSQL server
-
Create a new database called
gql-typescript-server
createdb gql-typescript-server
Start the server with yarn start
then to use GraphQL Playground navigate to http://localhost:4000/graphql
.
- Register - Send confirmation email
- Login
- Forgot Password
- Logout
- Cookies
- Authentication middleware
- Locking accounts
- Testing