GithubHelp home page GithubHelp logo

flazefy / customanalytic_api2 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 210 KB

CustomAnalytic2 (WW2) is a Web app about dataset, story, and forum about World War. This app is portfolio project and created using Laravel 9

PHP 92.69% JavaScript 0.11% Blade 7.20%
laravel php restful-api mysql backend forum worldwar2

customanalytic_api2's Introduction

========================= Command =========================

First Run

composer install composer update php artisan key:generate php artisan storage:link php artisan serve

Run Application

php artisan serve

Run Queue Job

php artisan queue:work

Run Application On Custom Pors

php artisan serve # port=**** ex : php artisan serve # port=9000

Run Migrations

php artisan migrate

Run Migrations On Specific file

php artisan migrate --path=database/migrations/file.php

Run Seeder

php artisan db:seed class=DatabaseSeeder or php artisan db:seed

Run Scheduler

php artisan schedule:run

Make Controller

php artisan make:controller Controller --resource

Make Model

php artisan make:model

Make Seeder

php artisan make:seeder Seeder

Make Factories

php artisan make:factory Factory

Make Migrations

php artisan make:migration create__table

Make Migrations on Specific File

php artisan migrate # path=/database/migrations/.php

Make Middleware

php artisan make:middleware

Make Mail

php artisan make:mail Email

Make Deploy

php artisan route:cache php artisan cache:clear php artisan route:clear

========================= File Directory =========================

Assets

CSS Directory : public/css Access Local Path : http://127.0.0.1:8000/css/<< CSS_FILENAME >>.css Access Global Path : http://mifik.id/css/<< CSS_FILENAME >>.css

JS Directory : public/js Access Local Path : http://127.0.0.1:8000/js/<< JS_FILENAME >>.css Access Global Path : http://mifik.id/js/<< JS_FILENAME >>.css

JSON Directory : public/json Access Local Path : http://127.0.0.1:8000/json/<< JSON_FILENAME >>.css Access Global Path : http://mifik.id/json/<< JSON_FILENAME >>.css

Assets (Image, Video) Directory : public/assets Access Local Path : http://127.0.0.1:8000/assets/<< ASSETS_FILENAME_TYPE >> Access Global Path : http://mifik.id/assets/<< ASSETS_FILENAME_TYPE >>

API Controller

Directory : app/Http/Controllers/Api

Normal Controller

Directory : app/Http/Controllers/<< MENU_NAME/SUBMENU_NAME >>

Model

Directory : app/Http/Models/<< DB_TABLE_NAME >>

View

Directory : app/Http/Controllers/<< MENU_NAME/SUBMENU_NAME >>

============================ Rules ===============================

Penamaan CSS

<< CONTEXT_NAME >>_v1.0.css <= Iterate

Penamaan JS

<< CONTEXT_NAME >>_v1.0.js <= Iterate

Secret JSON

<< RANDOM_STRING >>_v1.0.js <= Iterate

Note : << v1 + 1 >>.0 If major change v1.<< 1 + 1 >> If minor change

================================================================== Last Updated : 06 Jul 2023

customanalytic_api2's People

Contributors

aliyahuyy avatar flazefy avatar

Stargazers

 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.