Cover image
Try Now
2025-04-05

该应用程序完全是使用光标使用Box MCP服务器来找到PRD和编码指南的。

3 years

Works with Finder

2

Github Watches

0

Github Forks

0

Github Stars

Todo App

A comprehensive todo application with a React Native mobile app and a Node.js/Express backend API. This file was built using Cursor and the Box MCP server. No code was manually written.

In Cursor, we searched Box for the Product Requirements Document (PRD) and for Coding Standards, and asked Cursor to build the app decribed in the PRD being sure to follow the coding standards. To see the documents we used in Box, check out the /sample-docs directory.

In order to prevent cheating the PRD or guidelines to make the build easier, I used the following publicly available examples:

  • PRD from Damian Filiatrault at ScalablePath.
  • Coding standards download from Google's Github

Project Structure

  • /mobile-app - React Native mobile application with Expo
  • /api - Node.js/Express backend API with TypeScript

Features

  • User authentication (signup, login)
  • Task list creation and management
  • Task creation with name, description, due date, and priority
  • Mark tasks as completed
  • Delete tasks and lists
  • Cross-platform (iOS & Android)

Technology Stack

Mobile App

  • React Native with Expo
  • TypeScript
  • Redux Toolkit for state management
  • Expo Router for navigation
  • React Native Safe Area Context for safe area handling

Backend API

  • Node.js with Express
  • TypeScript
  • MongoDB with Mongoose
  • JWT authentication
  • Express Validator for request validation

Setup Instructions

Prerequisites

  • Node.js 18+
  • MongoDB
  • Expo CLI (npm install -g expo-cli)
  • iOS Simulator (for iOS development)
  • Android Studio with an emulator (for Android development)

Mobile App Setup

# Navigate to the mobile app directory
cd mobile-app

# Install dependencies
npm install

# Start the development server
npm start

# Run on iOS
npm run ios

# Run on Android
npm run android

API Setup

# Navigate to the API directory
cd api

# Install dependencies
npm install

# Create a .env file with the following variables
# PORT=3000
# MONGODB_URI=mongodb://localhost:27017/todo-app
# JWT_SECRET=your-secret-key

# Start the development server
npm run dev

# Build the project
npm run build

# Start the production server
npm start

Environment Variables

Mobile App

Create a .env file in the mobile-app directory with:

EXPO_PUBLIC_API_URL=http://localhost:3000/api

API

Create a .env file in the api directory with:

PORT=3000
MONGODB_URI=mongodb://localhost:27017/todo-app
JWT_SECRET=your-secret-key

API Endpoints

Authentication

  • POST /api/auth/register - Register a new user
  • POST /api/auth/login - Login a user

Lists

  • GET /api/lists - Get all lists for the current user
  • POST /api/lists - Create a new list
  • GET /api/lists/:listId - Get a specific list
  • PUT /api/lists/:listId - Update a list
  • DELETE /api/lists/:listId - Delete a list

Tasks

  • GET /api/lists/:listId/tasks - Get all tasks for a list
  • POST /api/lists/:listId/tasks - Create a new task
  • GET /api/lists/:listId/tasks/:taskId - Get a specific task
  • PUT /api/lists/:listId/tasks/:taskId - Update a task
  • DELETE /api/lists/:listId/tasks/:taskId - Delete a task

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License.

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Lists Tailwind CSS classes in monospaced font

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • JackKuo666
  • 🔍使AI助手可以通过简单的MCP接口搜索和访问PYPI软件包信息。

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

    Reviews

    3 (1)
    Avatar
    user_93wmOwmn
    2025-04-18

    As a dedicated user of MCP applications, todo-cursor by box-community has significantly enhanced my productivity. The seamless integration and intuitive design make managing tasks effortless and efficient. Its lightweight nature and robust features cater perfectly to my daily workflow. Highly recommend checking it out on GitHub!