Skip to content

fwdms/OpenFantasyRacing

Repository files navigation

Getting Started

Link to Github Project to see current issues.

This application makes use of :

  1. Laravel
    1. Laravel Sail
    2. Laravel Sanctum
    3. Laravel Pint
    4. Larastan
  2. TailwindCSS
  3. Inertia.js
  4. Vue.js 3
  5. Vite

Contributing

If you wish to contribute, feel free to create a PR! A couple of things we expect :

  1. If you wrote a new feature, please write a test for that feature.
  2. Make sure your feature doesn't break any of the existing features by running sail artisan test.
  3. If your PR interacts with a model, make sure to update the Factories so the tests pass.

Code of Conduct

  1. README only PRs will be declined.
  2. PRs without tests will also be declined.
  3. Your controllers should match the action of resource controllers (shown below). Please, avoid custom controller actions in the controller.

Resource Controller Actions

Laravel Controller Actions

Verb URI Action Route Name Used For
GET /photos index photos.index API / View
GET /photos/create create photos.create API / View
POST /photos store photos.store API
GET /photos/{photo} show photos.show API / View
GET /photos/{photo}/edit edit photos.edit API / View
PUT / PATCH /photos/{photo} update photos.update API
DELETE /photos/{photo} destroy photos.destroy API

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

If you don't feel like reading, Laracasts can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.