Example of how to use Angular 14, GraphQL and Tailwind CSS.
The project uses Apollo Angular and
the GraphQL Code Generator, the latter generates via npm run generate
all
necessary types for type safety. The GraphQL API used is
the Star Wars GraphQL API. In addition,
it includes a Dockerfile using PM2 to serve the bundled app.
npm install
npm run generate
npm start
npm run generate && npm run build
docker build -t <name>:<tag> .
docker run <name>:<tag>