Giter Site home page Giter Site logo

sylvercodez / expenseng Goto Github PK

View Code? Open in Web Editor NEW

This project forked from expenseng/expenseng

0.0 0.0 0.0 172.36 MB

An expense tracking app for the expenditures of the Federal government of Nigeria.

Home Page: https://expenseng.com

License: GNU General Public License v3.0

PHP 35.74% HTML 60.05% Shell 0.01% Vue 4.21%

expenseng's Introduction

FG Expense Tracker

An expense tracking app that aims to promote transparency in the handling of public funds by public officers in Nigera. Visit our website at expenseng.com

For quick navigation:

Code of Conduct

Please read FG Expense Tracker's Code of Conduct. It is important that you follow the code to ensure that we all remain professional and fair to each other.

Contribution Guide

Setting up your workspace

Before running this app, locally make sure you have the following software installed:

  • XAMPP or it's equivalent
  • NPM
  • Composer

Now, follow this steps to start contributing:

  1. Clone this repository with git clone https://github.com/hngi/expenseng.git
  2. Run cd expenseng
  3. Run composer install
  4. Run npm install
  5. Run php artisan key:generate --show to retrieve a base64 encoded string for Laravel's APP_KEY in .env
  6. Run php artisan serve from your terminal and the app will be running on http://127.0.0.1:8000/
  7. This project makes use of Laravel mix, and so all scripts and stylesheets are in the resources folder. When you run npm run dev, they will be compiled and written to the public folder.

Tests and Code Consistency

To ensure that only production-ready, properly tested and syntax error-free code is merged, this project uses PHP Sniffer to identify erroneous or error-prone PHP code, JsHint to identify javascript errors, and unit tests are run with PHPUnit. This means a pull request(PR) that does not pass all these error checkers or breaks any existing unit tests will be rejected. Convenience composer scripts have been provided to enable you run these tests locally before pushing your changes or making a PR, to enable you fix these errors first. You are encouraged to run all these tests first before a commit or before pushing new commits:

  • composer run-php-test to run unit tests with PHPUnit
  • composer run-php-sniffer to run PHP sniffer to check for PHP syntax errors and repair auto-fixable errors
  • composer run-js-test or npm run lint to check for javascript errors
  • composer run-all-tests to run all 3 tests (Note: this is the same test that will be run on CI)

Frontend Developers

If you are new to Laravel, this quick guide will help you get started.

A few things to note:

  • All your CSS or SASS or files should be in the resources/sass or resources/css directory
  • The above applies to images as well, there is a resources/img folder which house all images for this project
  • !Important References to your images in your Stylesheet should use the format url('/img/<image-name>')
  • All links must use the naming convention of route('name'), learn more about Laravel named routes

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

If you don't feel like reading, Laracasts can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

License

The Laravel framework is open-sourced software licensed under the MIT license.

expenseng's People

Contributors

goodhands avatar ezeko avatar ephraimdev avatar onifs10 avatar papa28x4 avatar airondev avatar leecodes-bit avatar nwokochahannah avatar skyc0der avatar webdott avatar davidalenoghena avatar horlathunbhosun avatar odizee avatar delight500 avatar acel-01 avatar oluwadamilareosinaya avatar amaka202 avatar simply-alliv avatar ajibadeabd avatar yanmifeakeju avatar joeedwin073 avatar ihechiwilliams avatar dave-ok avatar surdman-coder avatar sylvercodez avatar douglasokolaa avatar pepps01 avatar elvislogan avatar surddev avatar bytedeveloperr 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.