Chapter 5

From zero to one in practice

Experience the full workflow of AI programming through three hands-on projects.

Project 1: Use Cursor to create a simple API interface

Getting Started30 minutes

Use Cursor to create a simple RESTful API and implement basic CRUD operations.

Implementation steps

1Open Cursor and create a new project
2Describe in natural language: create a Node.js Express API
3Add routes: GET /users, POST /users
4Test whether the API is working properly

Related skills

Node.jsExpressRESTful APICursor Agent

Project 2: Use v0 to generate a login page

Getting Started15 minutes

Use v0 to generate a beautiful login page from natural language.

Implementation steps

1Visit v0.dev
2Description: Create a modern-style login page that includes email and password input fields
3Adjust generated designs
4Export code to a local project

Related skills

v0ReactTailwind CSSUI design

Project 3: Organizing Daily Work Summaries with Fabric

Getting Started20 minutes

Use Fabric's Pattern to automatically organize and summarize daily work content.

Implementation steps

1Install and configure Fabric
2Use the summarize Pattern
3Enter today's work content
4Obtain a structured work summary

Related skills

FabricCommand linePatternsWork efficiency

Practical tips

  • 1.Start simple; do not pursue complex features from the beginning
  • 2.When you encounter a problem, think it through yourself first, then ask AI
  • 3.Understand code generated by AI, and do not copy and paste blindly
  • 4.Try different ways of asking questions to find the most suitable phrasing