Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

47vigen/fastify-mikro-orm-mercurius-graphql-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

32 Commits

Repository files navigation

fastify-mikro-orm-mercurius-graphql-example

A MikroORM boilerplate for GraphQL made with Fastify, Mercurius, Typescript using TypeGraphQL

📦 Packages


✨ Installation

  1. Install dependencies via yarn
  2. create .env file based on .env.example
DATABASE_HOST=
DATABASE_USER=
DATABASE_NAME=
DATABASE_PASS=
JWT_SECRET=
JWT_REFRESH_SECRET=
COOKIE_SECRET=
  1. Build /dist via tsc or yarn watch
  2. Run via yarn start or yarn dev
  3. GraphiQL playground is running on localhost:9000/graphiql

⚡️ Usage

Migrations

you can see mikro-orm cli document for migrations Migrations | using via cli


🐍 Author

Vigen Github: 47vigen
Twitter: @47vigen


📢 Shoutouts

Special thanks to Martin Adámek for developing mikro-orm and Dries Croons for mikro-orm-graphql-example and readme file.


⭐️ Support

Please star the repository if this helped you!


⛑️ Contribution

Want to help contribute to this repository?

  • Something's not working? Got a question? Create an issue!
  • Missing some functionality? Feel free to create a pull request!

🚧 Todo

  • Complete auth
  • Create test
  • Eventually make it better :)

About

just a graphql example created by typescript + fastify + mikro-orm(postgresql) + mercurius(graphql adaptor) + type-graphql

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /