Giter Club home page Giter Club logo

algoriza_task's Introduction

Algoriza TASK

  • 1 - Create a simple web module with a related database to perform CRUD operations on the following tables:

    • 1.1 - Products table that includes the following data:

      • Product Name
      • Description
      • Category (dropdown)
      • Tags (comma separated words)
      • Picture (file upload)
    • 1.2 - Category table that includes:

      • Category Name
      • Parent Category Name (optional)
      • Is Active
  • 2 - Both category & product lists should include basic search/filtration functionality

  • 3 - The pages should be styled with basic CSS (like bootstrap or other)

  • 3 - Create a README.md file describing steps required to run the application.

  • 4 - Push your code (and SQL dump or migrations) to Github or another git provider, and send the repository link.

Notes:

  • You can develop the pages using PHP Native way or using your preferred MVC framework.

  • Protecting the module with authorization (simple logic screen) is a plus.

  • Creating the database using SQL migrations is a plus.


Requirments:

  • PHP 8.1 or later.
  • MySQL 5.7 or later.

installation Steps

  • Step 1: git clone url project.
  • Step 2: composer install for download the required packages.
  • Step 3: create database with name "algoriza_task"
  • Step 4: cp .env.example .env to copy env file.
  • Step 5: php artisan key:generate to generate new app key.
  • Step 6: php artisan migrate to run database migration.
  • Step 7: php artisan db:seed to run database seeder for create default user.
  • Step 8: npm install && npm run build for compiling your fresh scaffolding.
  • Step 9: php artisan serve to deploy the module

NOTE

if you get any errors in this steps, when seeding the database, related to existing data, please run the following:

  • run php artisan config:cache to reset setting to is last good case.
  • run chmod -R 777 storage to give permissions to storage folder for read/wire actions.
  • run chown www-data -R storage for the same reason described above.

algoriza_task's People

Contributors

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