Giter Club home page Giter Club logo

articlecrud's Introduction

Article CRUD using Laravel 10 and Vue 3

Setup Project

Laravel

  • After cloning the repository, run composer update.
  • Configure your environment variables (.env file).
  • Start the Laravel development server with php artisan serve.

Vue

  • Change directory to cd frontcrud.
  • Install required packages with npm install.
  • I'm using CLI, Webpack, Axios, and more.
  • Build the Vue app with npm run dev.
  • Open localhost in your browser and enjoy! (Don't forget to run php artisan serve for the Laravel backend).

Project Overview

This project demonstrates a simple Article CRUD (Create, Read, Update, Delete) application using the Laravel PHP framework for the backend and Vue.js for the frontend. Here are some details about the technologies used:

Laravel

  • Laravel is a powerful and popular PHP web application framework known for its elegant syntax and developer-friendly features.
  • In this project, Laravel serves as the backend, handling database interactions, API endpoints, and routing.
  • To get started with Laravel, clone this repository and run composer update to install the required dependencies.
  • Configure your environment variables in the .env file, including database settings.
  • Start the Laravel development server with php artisan serve.

Vue 3

  • Vue.js is a progressive JavaScript framework for building user interfaces.
  • The frontend of this project is built with Vue 3, providing a responsive and interactive user interface.
  • To work on the Vue app, navigate to the frontcrud directory.
  • Install the necessary packages with npm install, which includes Vue CLI, Webpack, Axios, and more.
  • Build the Vue app with npm run dev for development or npm run build for production.
  • Open localhost in your browser to access the Vue app and enjoy the user-friendly interface.

CLI (Command Line Interface)

  • Command Line Interface (CLI) tools are essential for development and automation tasks.
  • In this project, the Vue CLI is used for creating and managing Vue.js projects.
  • The Laravel Artisan CLI is used for various Laravel-related tasks, such as creating controllers, migrations, and more.
  • You can run Laravel Artisan commands using php artisan <command> in the project root directory.

Webpack

  • Webpack is a popular JavaScript module bundler used to bundle and optimize project assets.
  • It's a fundamental part of the Vue.js development workflow, handling the compilation of JavaScript, CSS, and other assets.
  • Webpack simplifies the management of dependencies and assets, ensuring efficient loading of resources in the browser.

Axios

  • Axios is a promise-based HTTP client for making AJAX requests in JavaScript.
  • In this project, Axios is used for making HTTP requests from the Vue.js frontend to interact with the Laravel backend API.
  • Axios simplifies the process of sending and receiving data between the frontend and backend, enabling seamless communication.

This project combines the power of Laravel and Vue.js to create a modern web application with a robust backend and a responsive frontend. Feel free to explore and modify the code to suit your needs.

articlecrud's People

Contributors

islam-m-ahmed avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.