/movieql

🎥 Movie catalog that is powered with GraphQL

Primary LanguageTypeScriptMIT LicenseMIT

MovieQL


Logo

MovieQL

Movie catalog that is powered with GraphQL.


Default workflow


🎥 This is an example project that demonstrates the usage of Apollo GraphQL with Typescript, Prisma and ExpressJS.

✏️ Features

  • 📌 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.

🚀 Quickstart

# Install dependencies
npm install
# Start the DB using docker compose
docker compose up -d
# Start the application in development mode
npm run dev

🔧 Scripts

Building

# Build
npm run build
# Clean
npm run clean

Development

npm run dev

Testing

Unit tests

npm run test

Integration tests

npm run test:integration

Linting

npm run lint


⚠️ Disclaimer: This is not production-ready code and before going to production some arrangements should be made.