- Server side
- Apollo server with Express
- Authentication
- Client side
- Next.js
- Apollo client
- Others
- Graphql with query, mutation, subscriptions
- Use graphql-codegen
- Typescript
- Install packages.
# At root
yarn install
# or
npm install
- Start project
yarn dev
# or
npm run dev
- Access the following URL.
- Client: http://localhost:3000
- GraphQL: http://localhost:4000/graphql
- Sign up
- email and password are required. Any strings are OK.
- The token is stored in cookie.
- Login
- Logout
- List, Add, Delete and subscribe todo.
That's all, very simple :)