Explore Nx with GraphQL Nexus, Next.js, Tailwind CSS, Storybook and Cypress.
Bonus: It also has github actions and git hooks configured.
DEMO available thanks to the Vercel hobby plan ❤️
Clone this repo and run npm install && npm start posts-app
.
The UI was built using:
- Next.js with Tailwind CSS
- Components library with Storybook included.
- Apollo client to handle graphql requests.
Starts the app
Generates the types of the .graphql
files in the UI.
Starts Storybook
Runs the tests
The service uses:
- GraphQL Nexus
- The one and only https://jsonplaceholder.typicode.com/ (Free fake API for testing)
Starts the app
Runs the tests
Note: Nexus types are generated locally when you visit the playground. E.g.
- Start the app.
- Visit
api/graphql
The are a few e2e tests using Cypress
Runs the tests