🎥 This is an example project that demonstrates the usage of Apollo GraphQL with Typescript, Prisma and ExpressJS.
- 📌 Simple resolver with a mutation and query.
- 📎 Integration test using
Jest
for the resolver. - 🔨 Basic unit test using
Jest
for the configuration. - 📁 MongoDB behind
Prisma
. - 💚 Basic pipeline with Github workflows.
- ✒️ Code first with
type-graphql
- 🐬 Quick setup of the Mongo DB with
docker compose
.
# Install dependencies
npm install
# Start the DB using docker compose
docker compose up -d
# Start the application in development mode
npm run dev
# Build
npm run build
# Clean
npm run clean
npm run dev
npm run test
npm run test:integration
npm run lint