Giter VIP home page Giter VIP logo

laravel-portfolio's Introduction

The source code of naurislinde.com

Build Status StyleCI Software License

This repository contains source code of my personal portfolio at naurislinde.com

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Requirements

  • PHP 8.0
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • BCMath PHP Extension
  • Redis server (optional)

Installing

A step by step series of examples that tell you have to get a development env running

Clone this repository

git clone [email protected]:FaZeRs/naurislinde.com.git

With Docker

Build containers

docker-compose up -d --build

Access docker environment

docker container exec -it php-fpm sh

Run this command inside terminal to create .env file, install dependencies, generate key, run migrations and tests.

composer start

The application will be available on http://localhost:3000, the mailhog on http://localhost:8025

Common way

Laravel project dependencies are managed through the PHP Composer tool. The first step is to install the dependencies by navigating into your project in terminal and typing this command:

composer install

This repository ships with a .env.example file in the root of the project. You must rename this file to just .env

The first thing we are going to so is set the key that Laravel will use when doing encryption.

php artisan key:generate

You must create your database on your server and on your .env file update the following lines:

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

We are going to run the built in migrations to create the database tables

php artisan migrate --seed

Now we need to create the encryption keys needed to generate secure access tokens.

php artisan jwt:secret

In order to install the Javascript packages for frontend development, you will need the Node Package Manager, and optionally the Yarn Package Manager by Facebook (Recommended)

If you only have NPM installed you have to run this command from the root of the project:

npm install

Compile assets:

npm run build

REST API

We use Laravel Passport. It is an OAuth2 server and API authentication package.

Running the tests

composer test

Built With

  • Laravel - The backend framework used
  • Vue - The frontend framework used
  • Vuetify - Vue component framework used
  • Docker - PHP development environment
  • Nuxt - The Intuitive Vue Framework

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Nauris Linde - Initial work - FaZeRs

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

laravel-portfolio's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar fazers avatar wikiccu 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.