Giter Site home page Giter Site logo

thiiagoms / expenses-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 190 KB

:moneybag: Expenses API Management with Laravel 11 + Jwt and MailHog

PHP 85.71% JavaScript 0.11% Blade 13.93% Dockerfile 0.26%
expenses expenses-manager laravel laravel-api laravel11

expenses-api's Introduction

Expenses APi Management

Dependencies

  • Docker ๐Ÿณ

Install

  1. Clone the repository and go to expenses directory:
git clone https://github.com/thiiagoms/expenses
cd expenses
  1. Setup containers and install dependencies inside app container:
docker-compose up -d
docker-compose exec app bash
thiiagoms@e795fc12781f:/var/www$ composer install
  1. Copy .env.example to .env and generate application key:
thiiagoms@e795fc12781f:/var/www$ cp .env.example .env
thiiagoms@e795fc12781f:/var/www$ php artisan key:generate
  1. Run migrations and setup queue:
thiiagoms@e795fc12781f:/var/www$ php artisan migrate
thiiagoms@e795fc12781f:/var/www$ php artisan queue:work
  1. Generate swagger docs:
thiiagoms@e795fc12781f:/var/www$ php artisan l5-swagger:generate
  1. Go to:
  • http://localhost:8000/api/documentation - to see swagger docs

  • http://localhost:8000/api - to use application

Tests and lint

  1. To run tests and lint:
thiiagoms@e795fc12781f:/var/www$ php artisan tests
thiiagoms@e795fc12781f:/var/www$ composer pint app tests

expenses-api's People

Contributors

thiiagoms avatar

Watchers

 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.