DEV Community

Abhirup Roy
Abhirup Roy

Posted on

Learning Node.js basics

Execution Plan:
Week 1: Simple Quote Generator API
Node.js Learning Focus: Express basics, JSON handling, CORS
Quick Win: 15-minute setup
React App: Display random quotes with author

  • "Get New Quote" button
  • Simple, clean UI

Node.js API: Single endpoint:

  • GET /api/quotes/random
  • Serve quotes from a JSON file
  • Handle CORS for React connection

Files needed:
quotes.json (20-30 quotes)
server.js (Express server)
React component with fetch call

Top comments (0)