Gaurav6982 / folios

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DSCFOLIO

This repo is functionality complete — PRs and issues welcome!


Getting started

Installation

Laravel Version - 7.22.4 php Version - 7.3.19 Please check the official laravel installation guide for server requirements before you start. Official Documentation

Clone the repository

git clone https://github.com/Gaurav6982/DSCFOLIO.git

Switch to the repo folder

cd dscfolio

Install all the dependencies using composer

composer install

Copy the example env file and make the required configuration changes in the .env file

cp .env.example .env

Generate a new application key

php artisan key:generate

Run the database migrations (Set the database connection in .env before migrating)

php artisan migrate

Start the local development server

php artisan serve

You can now access the server at http://localhost:8000

TL;DR command list

git clone https://github.com/Gaurav6982/DSCFOLIO.git
cd dscfolio
composer install
cp .env.example .env
php artisan key:generate

Make sure you set the correct database connection information before running the migrations Environment variables

php artisan migrate
php artisan serve

Code overview

Folders

  • app - Contains all the Eloquent models
  • app/Http/Controllers/Api - Contains all the api controllers
  • app/Http/Middleware - Contains the JWT auth middleware
  • app/Http/Requests/Api - Contains all the api form requests
  • config - Contains all the application configuration files
  • database/factories - Contains the model factory for all the models
  • database/migrations - Contains all the database migrations
  • database/seeds - Contains the database seeder
  • routes - Contains all the api routes defined in api.php file
  • tests - Contains all the application tests
  • tests/Feature/Api - Contains all the api tests

Environment variables

  • .env - Environment variables can be set in this file

Note : You can quickly set the database information and other variables in this file and have the application fully working.


About


Languages

Language:PHP 84.0%Language:Blade 15.5%Language:Shell 0.6%