Skip to content

stephenasuncionDEV/create-typedef-app

Repository files navigation

Next.js Template Logo

create-typedef-app

CodeQl Badge DockerHub Badge

My preferred version of create-t3-app

create-typedef-template is a full-stack web application template inspired by create-t3-app that contains the following technology stack:

Branches

_tRPC (default) - branch that utilizes tRPC in place of Apollo GraphQL for the handling of RPC requests.

_ApolloGQL - branch that uses Apollo GraphQL for the handling of RPC (remote procedure call) requests.

Note: Read CONTRIBUTING.md before submitting a pull request.

Preview

How to use

Go to create-typedef-app repository, and click Use this template.

Note: If you want to use one of the branches just clone it and merge it to main locally.

Configurations

GitHub Actions Secrets

DOCKER_HUB_USERNAME
DOCKER_HUB_REPOSITORY
DOCKER_HUB_ACCESS_TOKEN

Environment Variable Example

Updating Prisma

To extend any prisma models, run yarn prisma to generate a new schema.

Note: You may need to reload your IDE for changes to occur.

Updating GraphQL Types

Ignore this if you are using tRPC.

To updated grapql types, run yarn graphql:compile or yarn graphql:watch. Files will get generated to @/graphql/types.

Note: Delete the types folder inside the src/graphql before generating a new one.

Deploy with Vercel

Deploy with Vercel

License

MIT

About

๐Ÿš€ Web application template inspired by the t3 stack.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published