---
description: Explanation of resource naming conventions, path structures, etc.
---

# Endpoints

* Use **plural nouns** (e.g., `/contacts`, `/team-members`).
* Use **hyphens** to separate words in URLs (e.g., `/quality-goals`).
* **Nest related resources** when appropriate (`/authors/1/books/2`)
  * _Most resources will be a "top-level" resource (not nested)_
  * _We use nesting in the backend (via `routes.rb` file) for relationships (many-to-many, one-to-many, etc.) (_[_**see BACKEND style guide**_](../backend)_)_
  * _**UPDATE (10/2/23):**  We may be moving away from nesting for these relationships per Jase's new suggestion_
