Made with
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result. API routes can be accessed on http://localhost:3000/api/graphql.
- There are lots of options to convert html to an image, heres a good StackOverflow post with some options and tradeoffs - https://stackoverflow.com/a/46243263/3672161
Note: I could not figure out the query for the country flag image but I substituted for a similar image that could easily be swapped.