This is a simple server that provides a GraphQL API to manage tasks for a To-do app.
The server is built using:
- Node.js
- Koa
- GraphQL
- Apollo Server
- MongoDB
- TypeScript
- Docker
To run the server, you need to have Node.js and MongoDB installed on your machine.
- Clone the repository
- Install the dependencies by running
npm install
- Run
docker compose up -d
to start the MongoDB container - Run
npm run dev
to start the server in development mode - Open your browser and go to
http://localhost:4000
to access the GraphQL Playground
- The user can create a new task
- The user can list all existing tasks
- The user can list an existing task by id
- The user can update an existing task by id
- The user can delete an existing task by id