Starting local Apollo server in HTTPS

Hello.

I am very new to Node and Apollo GraphQL.
i need to start apollo graphql in https. i.e. hitting https://localhost:4000 as i need to integrate this address to another localhost.

how do i do it?

const { url } = await startStandaloneServer(server, {
listen: { port: 4000 }
})

Thank you.