Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
graphql-code-generator
A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.
-
Nest
A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Used typeorm and type-graphql to define the GraphQL schema and DB schema conveniently. type-graphql automatically generates the schema file :) It might be better o try Nest.js...?
Recently, I was reading a book named "Learning GraphQL" to learn GraphQL. To understand it deeply, I tried to create a sample app: https://github.com/danimal141/learning-graphql-ts
Used graphql-code-generator to generate the types for TypeScript from the GraphQL schema that the back-end generated.
Used create-react-app to create a TypeScript based project. Created only the user list view and login feature. The React way in the book seemed a bit old so I used React hooks actively.
Used npm-run-all to enable to run commands for the front-end and back-end at once.
It might be better o try Nest.js...?
Used lint-staged and husky to run Prettier when committing.
Related posts
- graphql-let - A Webpack loader for GraphQL Code Generator
- Type-Safe Fetch with Next.js, Strapi, and OpenAPI
- Building a Dynamic Job Board with Issues Github, Next.js, Tailwind CSS and MobX-State-Tree
- How to stream data over HTTP using NextJS
- WebSockets Unlocked: Mastering the Art of Real-Time Communication