Coder Social home page Coder Social logo

home-budget's Introduction

Application features

  • User registration
  • User login
  • After registration user gets default categories
  • Categories CRUD
  • Transactions CRUD (every transaction has category and transaction can be income or expense)
  • Transactions can be filtered by date, category, type (income or expense), min amount, max amount and when transaction will become active
  • Transaction data aggregation endpoint with sum of income and expense transactions, number of income and expense transaction and balance. Endpoint can be filtered by date and categories

How to install application

  1. Clone this repository git clone https://github.com/tomopongrac/home-budget.git
  2. cd into the project directory cd home-budget
  3. Run composer install
  4. Create .env.local file touch .env.local
  5. Add DATABASE_URL to .env.local file
  6. Run php ./bin/console doctrine:database:create
  7. Run php ./bin/console doctrine:migrations:migrate
  8. Since application use JWT for authentication, you need to generate public and private keys. Run php ./bin/console lexik:jwt:generate-keypair
  9. symfony server:start

Api Documentation

  1. symfony open:local
  2. open http:8000/api/doc

How to run tests

  1. Add DATABASE_URL to .env.test.local file
  2. To create test database run php ./bin/console doctrine:database:create --env=test
  3. To run tests run php bin/phpunit

How to run static analysis

  1. composer phpstan

How to run code style fixer

  1. composer cs-fixer-fix

home-budget's People

Contributors

tomopongrac 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.