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.
You have to have docker
and docker-composer
installed on your system in order to run this project.
-
clone the repository
git clone git@gitlab.com:rasadeghnasab/laravel-matrix-multiplier
-
cd to the repository directory
cd laravel-matrix-multiplier
-
up and run the whole project
make project
-
open the link below in your browser
- I wrote test functions name in a snake_case type to be more readable despite that breaks the PSR-12 rules.
Here we listed some useful commands that you can use to develop the application:
-
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
-
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 commandmake test filter=TEST_FILE_OR_FUNCTION
-
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