GraphToDo is a modern todo application built using GraphQL technology. It offers a flexible and efficient way to manage your tasks and todos, allowing users to create, update, toggle completion status, and delete todos seamlessly. With GraphToDo, harness the power of GraphQL for a smooth and intuitive task management experience.
- GraphQL API: Utilizes GraphQL for efficient data fetching and manipulation.
- Todo Management: Create, read, update, and delete todos effortlessly.
- Toggle Completion: Mark todos as completed or incomplete with a simple toggle.
- Scalable Architecture: Built with scalability in mind, allowing for easy expansion and customization.
- MongoDB Integration: Stores todo data in MongoDB for persistence and reliability.
-
Clone the repository:
git clone https://github.com/simran1002/GraphQLTodo.git
Install dependencies:
bash Copy code cd graph-todo npm install Configure MongoDB connection:
Update the MongoDB connection string in config.js with your MongoDB URI.
Start the server:
bash Copy code npm start Access the application:
The server will start on http://localhost:4000/graphql. You can access the GraphQL Playground to interact with the API.
Usage Access the GraphQL Playground:
Open your browser and navigate to http://localhost:4000/graphql to access the GraphQL Playground.
Interact with the API:
Use the provided GraphQL queries and mutations to manage your todos. Refer to the schema and documentation for available operations.