GithubHelp home page GithubHelp logo

bookstore's Introduction

Laravel Project Installation

This project was built using Laravel 9.x, a PHP framework for web applications. To install it, follow the steps below:

Prerequisites

  • PHP version 8.1
  • Composer
  • MySQL or another database compatible with Laravel

Step 1: Clone the repository

Clone the repository to your local machine by running the following command in your terminal:

git clone https://github.com/guiiivale/bookstore.git

Step 2: Install dependencies

Navigate to the project directory and run the following command to install the necessary dependencies:

  • composer install

Step 3: Set up the environment

Rename the .env.example file to .env and fill in the necessary environment variables, such as the database connection settings.

Step 4: Generate an app key

Generate an app key by running the following command:

  • php artisan key:generate

Step 5: Run migrations

Run the following command to create the necessary tables in the database:

  • php artisan migrate

Step 6: Run seeders

Run the following command to fill the table with some data:

  • php artisan db:seed

Step 7: Start the development server

Run the following command to start the development server:

  • php artisan serve

The application should now be accessible at http://localhost:8000.

Step 8: Read the documentation:

Note

You may want to make sure you have a .env file in your root directory with the necessary configuration for your application to connect to the database before running the migration command.

To run tests you can use some of the following softwares:

  • Postman.
  • Insomnia.

bookstore's People

Contributors

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