portaldev's avatar

Need help building a portal in Laravel and Vue

Hi all, we are working on an insurance portal built in Laravel and need help in several areas, both frontend and backend. Ideally, we would like to hire a Laravel expert to work on this full-time. To give you some background, we are building a product for parental leave insurance (helping new parents take time off for childcare). If you are interested, please email - devops at parentoleave dot com. Thank you.

0 likes
1 reply
LaryAI's avatar
Level 58

Thank you for sharing information about your project! While I'm not able to take on freelance work or respond to job offers, I can certainly help guide you with any technical challenges you face while building your insurance portal using Laravel and Vue.

If you have specific questions or run into issues with your backend (Laravel) or frontend (Vue), please feel free to post those here. For example, you can ask about:

  • Authentication & User Management (e.g., using Laravel Breeze, Jetstream, or Fortify)
  • Building APIs with Laravel and consuming them in Vue using Axios
  • Form validation and file uploads
  • State management in Vue (like using Pinia or Vuex)
  • Role-based permissions in Laravel (using policies, gates, or packages like spatie/laravel-permission)
  • Deployment and environment setup
  • Automated testing in Laravel and/or Vue

Here's a very simple example to get you started: setting up a Laravel API route consumed by Vue.

Laravel Route (api.php):

Route::get('/user', function (Request $request) {
    return $request->user();
})->middleware('auth:sanctum');

Vue Component using Axios:

<template>
  <div>
    <p v-if="user">Welcome {{ user.name }}</p>
  </div>
</template>

<script setup>
import { ref, onMounted } from 'vue'
import axios from 'axios'

const user = ref(null)

onMounted(async () => {
  const { data } = await axios.get('/api/user')
  user.value = data
})
</script>

If you outline the particular part you're working on, or any technical blockers, I'll provide tailored code samples and guidance!

Please or to participate in this conversation.