trujic1000 / shopping-app-builtt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shopping App Builtt

This project is a shopping cart application built as a task for FullStack Developer position at Builtt

Prerequisites

Make sure you have the following installed on your machine:

Getting Started

  1. Clone the repository:

    git clone https://github.com/trujic1000/shopping-app-builtt.git
  2. Navigate to the project directory:

    cd shopping-app-builtt
  3. Install PHP dependencies:

    composer install
  4. Install JavaScript dependencies:

    npm install
  5. Copy the environment file:

    cp .env.example .env
  6. Generate an application key:

    php artisan key:generate
  7. Configure your database:

    Update the .env file with your database connection details.

  8. Run migrations:

    php artisan migrate
  9. Seed the database:

    php artisan db:seed --class=ProductsTableSeeder
    php artisan db:seed --class=UsersTableSeeder
  10. Create a symbolic link to make the storage accessible from the web:

    php artisan storage:link
  11. Compile assets:

    npm run dev
  12. Start the development server:

    php artisan serve
  13. Visit the application:

    Open your browser and go to http://localhost:8000

Additional Configuration

To access the application with a test user account, you can use the following credentials:

About


Languages

Language:PHP 52.8%Language:TypeScript 33.8%Language:Blade 13.0%Language:JavaScript 0.4%Language:CSS 0.0%