| Endpoint | Description |
|---|---|
/app |
API Version 1 |
The API comes with 2 default routes in the /ping address within /app to verify both the client's connection to the api and to the database
| Endpoint | Queries | Description |
|---|---|---|
GET /ping/api |
none | Verify API connection |
GET /ping/database |
none | Verify DB connection |
If a folder called articles with the table.sql and queries.sql files on it is created on app then the /articles route wil be added to the main /app route
When the template is created, it has an ARTICLES FOLDER to test the brage tool, run the following command
npm run dev:brageLater when you have your own routes with your personal tables and queries check them before using dev:brage again, run the following command
npm run sqlcheck:infoLater when you have your own routes with your personal tables, these tables can be on a new datarabase before using dev:brage again, run the following command with the :dev or :test suffix
npm run dbcreate:dev