~kmdodrill/basic-auto-site

Simple PHP project, incomplete / does not function
Add all files from GitHub

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~kmdodrill/basic-auto-site
read/write
git@git.sr.ht:~kmdodrill/basic-auto-site

You can also use your local clone with git send-email.

Basic Auto Site

A basic site that sells automotive vehicles to users.

This uses some basic PHP and NodeJS packages. Please run composer install and yarn install and npm run dev before trying to serve these files.

A few things I could've done better:

  • Offload logic to the User.php file, instead of having it in the UserGateway.php file. It really belongs in the User class.
  • Add a package to use for the database.
  • Add Twig or use some kind of templating engine for HTML.
  • Convert the landing / car-detail pages over to using some kind of Car class, which would grab car data stored in the db.