Giter Site home page Giter Site logo

laravel-portfolio's Introduction

Laravel portofile application

Send me a message on WhatsApp Email me Total Downloads Latest Stable Version License

overview

  • I What is Laravel

  • II Requirements

  • III Create Database with - phpmyadmin

  • IIII Setup environments

  • V build-in server

  • VI Api test

  • VII unit test

what is Laravel

  • Laravel is a web application framework with expressive, elegant syntax. We believe development must

requirements

    • PHP >= 8.0
    • Apache server [ wamp,mamp,xampp,lampp ] or u can use build-in server
    • MySql Database : MySQL ,Psql
    • Composer installed on your machine

Create database with php my admin

  1. open browser and go to http://localhost/phpmyadmin
  2. click new button in left side bar
  3. enter name of the databse you want to create (ex: test)
  4. select type as "utf8mb4"
  5. click submit

Setup Environments

  • install all dependencies except dev

    > composer install --no-dev
    > npm install
    > npm run watch
  • create database and migrate tables

    > php artisan migrate
  • rollback

    > php artisan migrate:rollback 

build-in server

  • Run larvel server
    • php artisan serve

api testing

  1. open postman app
  2. import file from project folder named "api_test.postman_collection.json".
  3. change url to localhost:port/api/v1/{route} where port = default port number for laravel server(8000).
  4. hit send request.

unit test

> vendor\bin\phpunit tests\\Unit\\{nameOfTestFile}.php
or
> vendor\bin\phpunit {pathToTheFolderContainingTests}\\{nameOfTestFile}.php

laravel-portfolio's People

Contributors

ahmed-hamdy101 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.