A full-stack example app with an Apollo GraphQL server backed by Open Brewery DB and a Vue 3 client styled with Tailwind CSS.
brewery-app/
server/
client/
npm install --prefix server
npm install --prefix clientnpm run dev --prefix serverThe GraphQL API will run at http://localhost:4000.
In a second terminal, after the server is running:
npm run codegen --prefix clientThis generates the typed GraphQL client files into client/src/gql/.
npm run dev --prefix clientThe Vite app will run at http://localhost:5173.
- The
Homepage is the completed example implementation. - The
local-brewspage is intentionally stubbed so you can build it yourself. - The backend exposes two GraphQL queries:
search(query: String!)filter(city: String!, type: String)
- The
filterquery maps to Open Brewery DB usingby_cityand optionalby_type.