Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

Oui-Dev/YNOV_Dogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dogger

School project with React and Laravel API.

Dogger logo

How to run the Web-App

In the Web-App directory, you can run:

npm install

To install all necessary depedancies.

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

How to run the API

First, you need to create an empty database.

In the API directory, you need to create '.env' file based on '.env.example'.

After that, you can run :

composer install

To install all necessary depedancies.

php artisan migrate

To setup the database.

php artisan serve

To run the api.

How to connect Dogger to your projects

Axios example :

axios.post("http://localhost:8000/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` })

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published