diff --git a/api.md b/API.md similarity index 99% rename from api.md rename to API.md index c0965684..343e4ca7 100644 --- a/api.md +++ b/API.md @@ -1,6 +1,6 @@
-# `REST`ful `API` Integration +# `REST`ful `API` Integration
@@ -829,4 +829,8 @@ as development continues. So if you're reading this, it's because that's all we currently have! If you found it interesting, -please let us know by starring the repo on GitHub! ⭐ \ No newline at end of file +please let us know by starring the repo on GitHub! ⭐ + +
+ +[![HitCount](https://hits.dwyl.com/dwyl/app-mvp-api.svg)](https://hits.dwyl.com/dwyl/app-mvp) \ No newline at end of file diff --git a/BUILDIT.md b/BUILDIT.md index 5f31d873..73007ae3 100644 --- a/BUILDIT.md +++ b/BUILDIT.md @@ -46,9 +46,10 @@ We suggest keeping two terminal tabs/windows running one for the server `mix phx.server` and the other for the tests. That way you can also see the UI as you progress. -We have created a *separate* -document detailing the implementation of the API. -You can find it in [`api.md`](./api.md). +We created a *separate* +document detailing the implementation of the `API`. +Please see: +[`api.md`](./api.md). With that in place, let's get building! @@ -105,7 +106,7 @@ With that in place, let's get building! - [13.1 Setting up](#131-setting-up) - [13.2 Changing database transactions on `item` insert and update](#132-changing-database-transactions-on-item-insert-and-update) - [13.3 Fixing tests](#133-fixing-tests) - - [13.4 Checking the changes using `DBEaver`](#134-checking-the-changes-using-DBEaver) + - [13.4 Checking the changes using `DBEaver`](#134-checking-the-changes-using-dbeaver) - [14. Adding a dashboard to track metrics](#14-adding-a-dashboard-to-track-metrics) - [14.1 Adding new `LiveView` page in `/stats`](#141-adding-new-liveview-page-in-stats) - [14.2 Fetching counter of timers and items for each person](#142-fetching-counter-of-timers-and-items-for-each-person) diff --git a/lib/api/item.ex b/lib/api/item.ex index b6a1a238..fac4cbde 100644 --- a/lib/api/item.ex +++ b/lib/api/item.ex @@ -24,7 +24,7 @@ defmodule API.Item do :error -> errors = %{ code: 400, - message: "The \'id\' is not an integer." + message: "Item \'id\' should be an integer." } json(conn |> put_status(400), errors)