Skip to content

rasadeghnasab/laravel-matrix-multiplier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrix multiplication API:

A matrix multiplication API by Laravel and Vuejs you can easily add other functionalities by extending Matrix and some other interfaces and expose them by the API.

Prerequisites

You have to have docker and docker-composer installed on your system in order to run this project.


Up and Running

  1. clone the repository

    • git clone git@gitlab.com:rasadeghnasab/laravel-matrix-multiplier
  2. cd to the repository directory

    • cd laravel-matrix-multiplier
  3. up and run the whole project

    • make project
  4. open the link below in your browser


A quick note for the reviewers

  • I wrote test functions name in a snake_case type to be more readable despite that breaks the PSR-12 rules.

Useful make commands

Here we listed some useful commands that you can use to develop the application:

Docker commands

  • Run all the necessary containers to make project work and accessible through a URI and PORT

    • make up
  • Stop all the containers and free resources andabout_you_test ports

    • make down

Back-end commands

  • Install laravel composer packages and create .env file from the .env.example

    • make laravel-dep
  • Run all the tests

    • make test
  • You can run a specific test by passing the filter argument to the command

    • make test filter=TEST_FILE_OR_FUNCTION

Front-end commands

  • Install npm dependencies

    • make node-dep
  • Build front-end files for production

    • make front-production
  • Start developing the front-end system and watching for changes

    • make front-dev

About

A matrix multiplier using Laravel and Vue js.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages