Skip to content

Built this "Job Posting" proof of concept to experiment more with Laravel 10, Vue 3, and Inertia.

License

Notifications You must be signed in to change notification settings

MonkoftheFunk/Job-Post

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Built this "Job Posting" proof of concept to experiment more with Laravel 10, Vue 3, and Inertia, and also a GO microservice that also uses Inertia to handle the frontend high load requests, loading its data from MongoDB, populated by Laravel and Postgres. Traefik will handle the routing of the frontend GO and the backend Laravel requests. I built a docker-compose for easy development as it uses many services.

Resources

Setup

  • docker-compose build
  • docker-compose up
    • This will handle the symlink to storage and db migrations
  • npm install
  • npm run dev
    • This will start VITE
  • docker exec -it platform-app php artisan db:seed
    • And this will populate the database with users, listings and tags
  • http://localhost/

Screenshots

TODO

  • Build a simple CRUD backend to the dashboard

  • Connect MongoDB to Laravel and add new models

  • Use observers to store data to MongoDB for frontend Vue views

  • Build GO server project Link

  • Add GO frontend endpoints

  • Copy and serve same Vue/Inertia files from GO

  • Wire up GO server into docker-compose for Trafiek to route to

    • Trafiek admin is port 8080
    • You can still see Laravel using port 9980 and Go port 9580
  • Share Redis user session with GO Job-Post-FE

  • Seamless login

  • Move Vue files to own repo that both repos can share

  • Locust compare Laravel and GO frontend performance

  • Get Stripe working

  • Get Uploads working

flowchart LR
    admin{{admin}}-->|"/a/..."|Trafiek
    Trafiek-->|"Backend"|Laravel
    Laravel-->Save[/Save/]
    Laravel-->|"Session"|Redis[(Redis)]
    Save-->|"read/write"|Postgres[(Postgres)]
    Save-->|"write"|MongoDB[(MongoDB)]
    user{{user}}-->|"/l/..."|Trafiek{Trafiek}
    Trafiek-->|"Frontend"|GO-->|"read"|MongoDB[(MongoDB)]
    GO-->|"Session"|Redis
Loading

About

Built this "Job Posting" proof of concept to experiment more with Laravel 10, Vue 3, and Inertia.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published