Coder Social home page Coder Social logo

app-crud's Introduction

Laravel CRUD Application for Products

Features

Create: Add new products with name, quantity, price, and description. Read: View a list of all products with their details. Update: Modify existing product details. Delete: Remove products from the database. Laravel Architecture

Requirements

  • PHP (>= 7.3)
  • Composer
  • Laravel (>= 8.x)
  • Database (MySQL, PostgreSQL, SQLite, SQL Server, etc.)

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/your-repository.git
  2. Navigate to the project directory:

    cd your-repository
  3. Install dependencies via Composer:

    composer install
  4. Copy the .env.example file and rename it to .env. Update the database configuration in the .env file.

  5. Generate an application key:

    php artisan key:generate
  6. Run database migrations:

    php artisan migrate
  7. Serve the application:

    php artisan serve
  8. Open your browser and navigate to http://127.0.0.1:8000 to access the application.

Usage

  • Create a new product: Click on the "Create a Product" link on the home page and fill in the product details.
  • View all products: Visit the home page to see a list of all products.
  • Edit a product: Click on the "Edit" link next to a product on the home page to modify its details.
  • Delete a product: Click on the "Delete" button next to a product on the home page to remove it from the database.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue if you encounter any problems or have suggestions for improvement.

License

This project is licensed under the MIT License.

app-crud's People

Contributors

saurin16 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.