Implementation of SUNAT purchase records using DDD.
- Run the docker container services:
docker-compose up
- To enter the web container use:
docker exec -it invoicing-web-1 sh
- Install dependencies (on sh):
composer install
- Clone the
.env.example
file to.env
and replace the variables for your own. - Run the migrations (on sh):
php artisan migrate
- Enter to
http://localhost:8090
to use the api.
- Install node.
- Run
npm install -g swagger-cli
- Go to docs folder and run
swagger-cli bundle openapi.yml --outfile _build/openapi.yml --type yaml
- You can check the full overview of openapi docs on
docs/_build/openapi.yml