CSE 154 Code Quality Guide (Node.js/Express) {

NOTE: All JavaScript Code should lint. Check to see if your code lints by looking for a green check mark in your repo. The linter will automatically run and email you a report if your code does not lint. Please refer to the JS section of this Code Quality Guide for JS-specific language guidelines. This page is specific to writing Node.js and Express programs.

Table of Contents

  1. Project Directory Structure
  2. Overall API Design
  3. Handling HTTP Requests
  4. Sending HTTP Responses
  5. Asynchronous Programming
  6. File Processing
  7. Using Databases
  8. Comments

Project Directory Structure

Overall API Design

⬆ back to top

Handling HTTP Requests

⬆ back to top

Sending HTTP Responses

⬆ back to top

Asynchronous Programming

⬆ back to top

File Processing

Using Databases

⬆ back to top

Comments

⬆ back to top

};