Beginners Laravel MySql Restful Vue JS Event Management system-Backend 1/2

0
165

Overview

Simple Vue JS Laravel CRUD Application with REST API Tutorial.
GitHub project source code: https://github.com/ch-hassansaeed/Event-Management-system-EMS
Supportive commands/Code for Laravel Backend:-

A Event Management system – EMS build with Laravel and Vuejs

Installation guide

Clone the repository

git clone my-repo-link ems
cd ems

Install PHP dependencies:

composer install

Copy example environment file to a new .env file:

cp .env.example .env

open .env file and set your mysql db settings

DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=ems_backend DB_USERNAME=root DB_PASSWORD=

Add application key:

php artisan key:generate

Create your database and change the .env variable accordingly

Run database migrations:

php artisan migrate

Seed the database:

php artisan db:seed

Create a storage sym link so you can access images from the public folder:

php artisan storage:link

Run the artisan serve command to spin up a dev server:

php artisan serve

supportive commands:- To Create new Model(i.e users) and make its migrate(by -m) for new DB table as users

php artisan make:model users -m

For each new model or migration file changes (call all migration up methods)

php artisan migrate

For delete/drop all Tables by using migration files (call all migration down methods)

php artisan migrate:reset

Backend libs/packages and tech stacks

Backend APIS Endpoints

  • host-url/login //Login and get the Bearer token response (verb:Post)
  • host-url/register //Register a new user/admin (verb:Post)
  • host-url/createnewevent //for create a new event (verb:Post)
  • host-url/createnewticket //customer buy new ticket (verb:Post)
  • host-url/gettrendingevents //Get the top 6 trending events
  • host-url/geteventdata/{id} //Get details of specific event by id
  • host-url/getsportsevents //Get all events which has sports category
  • host-url/getfunevents //Get all events which has fun category
  • host-url/getsalesoverview //Get the report of the sales by Tickets Types
  • host-url/getsalesdetails //Get the report of the sales by Events
  • host-url/getbookingdetails //Get the report of the sales by customers ticket purchases

Both FE & BE project folders has own README.md files for installation and run method.

Backend:

ems_backend\README.md
http://localhost:8080/login

Frontend:

ems_frontend\README.md
http://localhost:8000/api/

keywords:- learn laravel 9,step by step laravel 9,laravel 9 tutorials,laravel 8 beginners tutorials,learn laravel 8 framework,learn laravel 8 step by step,laravel 8,online web tutor laravel 8,laravel 8 framework,online web tutor,Laravel 8 PHP framework,step by step laravel beginner tutorial,laravel 8 from scratch,complete laravel 9 course laravel,vuejs,laravel 8,laravel 9,laravel crud,laravel 8 tutorial,laravel 9 tutorial,laravel employees management application,laravel application,laravel application example,laravel employees application,laravel 8 application from scratch,create laravel project,laravel 8 project,laravel 8 project from scratch,setup application,bootstrap admin dashboard,create laravel PHP Laravel Vue Js Tutorial 2022,Laravel Course,Laravel Tutorial 2021,Customer Mangement App with Vue JS,Laravel Api,Laravel Vue JS Free code camp,Laravel Crash Course,Vue JS Api Course,Beautiful UI Dashboard Todo list,To-do List,To do list,Todo list App,Laravel todo list laravel vue,laravel vue.js,vue,laravel,laravel api,vuejs laravel,full stack vue,fullstack,vue js,restful api,api,laravel and vue js restful api crud,Full Stack Vue.js Laravel CRUD with RESTFUL API,Todo List App with Laravel and Vue.js,Vue Js and Laravel CRUD Operations,Build a TODO App with CRUD,laravel 8 vue js crud example,vue js crud example step by step,How to Create Laravel 8 Vue JS CRUD Single Page Application event management,event management system,php projects download,online,event planning,event management course,event management ideas,event management business,event management system project in php,event management system software,Employee Management System,Event Scheduling System,events,php project,training,best,free,download,event management project,How to Make a Event Management System Project in Php,Download With Source Code,php projects download,Event Management System,final year project idea,php project with source code,download php project with source code,php website project with source code,source code,php project ideas,student projects ideas,event management,free projects download,project report,event management system project in php,event management system project,event management system using php and mysql,event management system project in php source code free download,event management system project in html Event Management System Website tutorial php project with source code online Event Management System | event management system project in php | Event Management System in php | PHP and MySQL Project on Online Event Planner | Event Scheduling System online event management system project in php event management system project in php event management system with source code event management system project in php with source code complete php project with source code and database Enjoy 🙂 OK
Thats all
—————————————————————————————————–
thank you for watching keep subscribe our channel h2zone (https://www.youtube.com/c/H2ZONE_SP?sub_confirmation=1) and don’t forget to press on bell icon to get all upcoming videos of our h2zone channel related to computer and technology tricks and solutions #window #android #iphone #c #games #photoshop #php #python #wordpress #internet #tricks #art

Summary

How to create Beginners Laravel MySql Restful Vue JS Event Management system project Backend first part