Introduction
This project have 2 sub-project, an API with Laravel 8 and a Frontend with Angular 11, each project have your own readme
- click here to access API readme
- click here to access Frontend readme
Environment
This project uses docker-compose to prepare the development environment, for production the serverless framework would be used to deploy the backend and AWS S3 Static Site to deploy the angular production files (using github actions)
Install and configure
First clone repository
git clone https://github.com/filipemansano/laravel-angular-crud.git
It's necessary have the docker and docker-compose installed.
now run command below to build and start a docker-machine
make build && make start
after all containers is up install the dependencies
make install && make migrate
Avaliables make
commands
command | description |
---|---|
migrate | perform initials database operations |
start | crete a docker containers |
install | install all dependencies |
test | execute all tests |
stop | stop all docker containers |
Windows user
to execute command make
please see this tutorial, or open Makefile
file and copy-paste commands in your terminal.