GithubHelp home page GithubHelp logo

ecedenyo / contact-importer Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 451 KB

System in Laravel 8 to import a CSV file and save its data to a defined database

Home Page: https://ancient-scrubland-27108.herokuapp.com/

Shell 0.37% PHP 60.11% Blade 39.51%

contact-importer's Introduction

Contact Importer

System implemented in Laravel 8.57.0 with Jetstream (2.3) and Livewire (2.5). It consists in a system that can feed a DB of contacts with some credit card information related through a CSV file.

Main ToDo list (WIP):

  • show contact full details ... in progress...
  • show a summary of the contacts imported
  • Validate CSV data
  • Process CSV file to obtain CC Franchise according to CC Number
  • Process CSV file so column order doesn't matter
  • show a log of the CSV files processed
  • Fully system deployed in some PaaS (Heroku) ... in progress...

Changelog

v1.0.0, aug/29, 2021:

  • initial deploy, personalized template is in WIP
  • to access (login) you can use user [email protected] with password myS3cr3tPassowrd, or create (register) your own.

Installation process:

  • download / clone the project
  • execute in the terminal: composer install && npm install && npm run dev
  • create a database with name: laravel_project_contactimporterl8 (otherwise, change this in .env)
  • adjust your database environment credentials in .env
  • initiate the database with command (on the terminal): php artisan migrate --seed

Testing data:

In order to initiate the system with some dummy data you can enter these commands in the terminal:

php artisan tinker
# once in tinker enter next
Contact::factory()->count(5)->create();

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

If you don't feel like reading, Laracasts can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Patreon page.

Premium Partners

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [email protected]. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

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.