GithubHelp home page GithubHelp logo

elfarouk-task's Introduction

El-Farouk Technical Task using Laravel

This application is about optimizing the upload of huge xlxs files.

How to install

You can install the application by following these steps:

  1. Navigate to the desired location on your computer
  2. Open the command prompt and run git clone https://github.com/JoeHossam/elfarouk-task.git
  3. Navigate to the project folder by running cd .\elfarouk-task\
  4. Create a new database from the file attached elfarouk-task.sql

    NOTE: make sure the database runs on port 3306 or simply change it in the .env file.

  5. Run composer update, to install all the required packages for this project

    NOTE: make sure you have gd extension enabled in your php.ini file, you can search for extension=gd in your php.ini file and uncomment it.

  6. Run php artisan serve, to start the server

How to run:

  1. After the server has started navigate to http://127.0.0.1:8000/users/import.
  2. There is a simple form where you can upload a file and submit to insert its data into the database.

    NOTE: The application expects the file to has 3 columns; name, email and phone. There is also file testingData which already includes 20 thousands records.

  3. When the app finishes, you will see a simple json message records successfully uploaded and the excution time, that is when everything has finished succefully.

Available Scripts

In the project directory, you can run:

php artisan serve

Runs the app in the development mode.

elfarouk-task's People

Contributors

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