School project with Vue 3, Laravel 10 and Inertia.js.
You can access to the project here https://dogger.host.
First you need to install all depedancies.
Next copy the '.env.example' file and rename it to '.env', edit them with your informations. After setup the database (you need to create an empty database before run this command).
Next you need to generate the routing file.
Finally build the app.
The page will reload when you make changes.
You may also see any lint errors in the console.
Open http://localhost:8000 to view it in your browser.
import { dogger_catch } from 'dogger-npm';
try {
// Your code here
} catch (error) {
dogger_catch(yourProjectKey, error)
}
or
import { dogger } from 'dogger-npm';
dogger(yourProjectKey, "message", "code", "path", "line", "timestamp")
Axios example :
axios.post("https://dogger.host/api/errors/new", {
message: "Error message", // optional
code: 500, // optional
path: "/", // optional
line: 1, // optional
timestamp: "2023-01-01 00:00:00" // optional (default: now)
}, { Authorization: `Bearer yourProjectKey` })