Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix all links in the table of contents #60

Merged
merged 2 commits into from
Sep 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 17 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,31 +32,29 @@ and _deploying_ a Chat app in Phoenix!
- [1. Create the App](#1-create-the-app)
- [2. Create the (Websocket) "Channel"](#2-create-the-websocket-channel)
- [3. Update the Template File (UI)](#3-update-the-template-file-ui)
- [3.1 Update Layout Template](#31-update-layout-template)
- [3.2 Update the page_controller_test.exs](#32-update-the-page_controller_testexs)
- [4. Update the "Client" code in App.js](#4-update-the-client-code-in-appjs)
- [5. Install the Node.js Dependencies](#5-install-the-nodejs-dependencies)
- [6. Create/Configure Database](#6-createconfigure-database)
- [7. Generate Database Schema to Store Chat History](#7-generate-database-schema-to-store-chat-history)
- [8. Run the Ecto Migration (Create the Database Table)](#8-run-the-ecto-migration-create-the-database-table)
- [8.1 Review the Messages Table Schema](#81-review-the-messages-table-schema)
- [9. Insert Messages into Database](#9-insert-messages-into-database)
- [10. Load Existing Messages (When Someone Joins the Chat)](#10-load-existing-messages-when-someone-joins-the-chat)
- [11. Send Existing Messages to the Client when they join](#11-send-existing-messages-to-the-client-when-they-join)
- [12. Checkpoint: Our Chat App Saves Messages!! (Try it!)](#12-checkpoint-our-chat-app-saves-messages-try-it)
- [13. Run the Default/Generated Tests](#13-run-the-defaultgenerated-tests)
- [13.1 Fix the Failing Test](#131-fix-the-failing-test)
- [13.2 Re-Run the Test(s)](#132-re-run-the-tests)
- [14. Understanding the Channel Tests](#14-understanding-the-channel-tests)
- [14.1 Analyse a Test](#141-analyse-a-test)
- [15. What is Not Tested?](#15-what-is-not-tested)
- [15.1 Add `excoveralls` as a (Development) Dependency to `mix.exs`](#151-add-excoveralls-as-a-development-dependency-to-mixexs)
- [15.2 Create a New File called `coveralls.json`](#152-create-a-new-file-called-coverallsjson)
- [15.3 Run the Tests with Coverage Checking](#153-run-the-tests-with-coverage-checking)
- [4.1 Comment out lines in `socket.js`](#41-comment-out-lines-in-socketjs)
- [5. Generate Database Schema to Store Chat History](#5-generate-database-schema-to-store-chat-history)
- [6. Run the Ecto Migration (Create The Database Table)](#6-run-the-ecto-migration-create-the-database-table)
- [7. Insert Messages into Database](#7-insert-messages-into-database)
- [8. Load Existing Messages (When Someone Joins the Chat)](#8-load-existing-messages-when-someone-joins-the-chat)
- [9. Send Existing Messages to the Client when they Join](#9-send-existing-messages-to-the-client-when-they-join)
- [10. Checkpoint: Our Chat App Saves Messages!! (Try it!)](#10-checkpoint-our-chat-app-saves-messages-try-it)
- [Testing our App (Automated Testing)](#testing-our-app-automated-testing)
- [11. Run the Default/Generated Tests](#11-run-the-defaultgenerated-tests)
- [12. Understanding The Channel Tests](#12-understanding-the-channel-tests)
- [13. What is Not Tested?](#13-what-is-not-tested)
- [13.1 Add excoveralls as a (Development) Dependency to mix.exs](#131-add-excoveralls-as-a-development-dependency-to-mixexs)
- [13.2 Create a New File Called coveralls.json](#132-create-a-new-file-called-coverallsjson)
- [13.3 Run the Tests with Coverage Checking](#133-run-the-tests-with-coverage-checking)
- [13.4 Write a Test for the Untested Function](#134-write-a-test-for-the-untested-function)
- [Continuous Integration](#continuous-integration)
- [Deployment!](#deployment)
- [Inspiration](#inspiration)
- [Recommended Reading/Learning](#recommended-reading--learning)


## Why?

Chat apps are the "Hello World" of "real time" examples. <br />
Expand Down