https://github.com/shwilliam/fullstack-ts-boiler
👮♀️ Full-stack type-safety w/ TypeScript and GraphQL
https://github.com/shwilliam/fullstack-ts-boiler
graphql graphql-code-generator typegraphql typescript
Last synced: 8 months ago
JSON representation
👮♀️ Full-stack type-safety w/ TypeScript and GraphQL
- Host: GitHub
- URL: https://github.com/shwilliam/fullstack-ts-boiler
- Owner: shwilliam
- License: mit
- Created: 2020-03-11T22:21:52.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-11T22:25:56.000Z (about 3 years ago)
- Last Synced: 2025-03-29T15:16:18.619Z (12 months ago)
- Topics: graphql, graphql-code-generator, typegraphql, typescript
- Language: TypeScript
- Homepage:
- Size: 892 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Full-stack TypeScript Boilerplate
> Type-safe JavaScript throughout the stack
## About
This is a simplistic example of a fullstack web-app with type-safety throughout the back- and front-end. This is acheived through a combination of TypeScript, TypeGraphQL and GraphQL code generator. The GraphQL schema and resolvers are written with TypeGraphQL in TypeScript, which is used to generate corresponding TS types to be used in our React frontend.
## Installation
### Server
- Install dependencies (`cd server && npm i`)
- Start local server (`npm start`)
### Client
- Install dependencies (`cd client && npm i`)
- Start local development server (`npm start`)
## Contributing
The purpose of this repo is to serve as a boilerplate or reference. I therefore wish to avoid building out more features with similar implementations of what already exists. That being said, I absolutely encourage contributions that fix any bugs, improve code readability or developer experience. Feel free to post any questions or suggestions in the project's [issues](https://github.com/shwilliam/fullstack-ts-boiler/issues). If you wish to work on this project:
1. Fork [this project](https://github.com/shwilliam/fullstack-ts-boiler)
2. Create a branch (`git checkout -b new-branch`)
3. Commit your changes (`git commit -am 'add new feature'`)
4. Push to the branch (`git push origin new-branch`)
5. [Submit a pull request!](https://github.com/shwilliam/fullstack-ts-boiler/pull/new/master)