Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fastify-cli and Mercurius #975

Open
lsanwick opened this issue Apr 3, 2023 · 2 comments
Open

fastify-cli and Mercurius #975

lsanwick opened this issue Apr 3, 2023 · 2 comments

Comments

@lsanwick
Copy link

lsanwick commented Apr 3, 2023

I'm trying to use fastify-cli to run a new Mercurius server and the docs are suprisingly unclear on how to run a newly created server without an explicit app.listen call.

Can anyone illuminate me on how to properly fastify start a server after registering the mercurius plugin?

@ChristoPy
Copy link

Hi, I've ran into the same question this week.

Look at this repo:

https://github.com/ChristoPy/woovi-challenge/tree/main/api

It was not only bootstrapped with fastify CLI but also has mercurius configured

@ChristoPy
Copy link

(Hope I get the job tough 😄)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants