Coder Social home page Coder Social logo

im-machakata / requisition-system Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 4.56 MB

Online Requisition System

Home Page: https://ors-zqetri23.isaac.co.zw

PHP 34.77% CSS 64.45% JavaScript 0.68% HTML 0.07% Hack 0.04%
codeigniter4 requisition online-requisition-system

requisition-system's Introduction

What is this?

This is a very basic Online Requisition System.

Users

The system can be used by 3 different users who are: The Admin, The Accounts and The Supervisors.

Functionality

All users can create a new requisition from the three defined requisition types. However, there are a couple of things each user can do that the other can not.

The Admin

The admin can lookup or add a new clients to the system.

The Accounts

The accounts can disburse funds to any approved requisitions. They can not approve any requisitions on their own.

The Supervisor

The supervisor is the only one who can approve or reject requisitions. This leaves the requisition open for the accounts team to disburse the funds.

The User

A (general) user can interact with the system as a normal employee with no special rights or roles. This was done so that you can experience the system from their perspective.

System Design

The documentation provided had a desktop theme and some effort were made to make it look good on desktops than on mobile devices. The entire system was built using Bootstrap 5, jQuery and uses CodeIgniter 4 as the sole PHP framework. It follows the MVC (Model-View-Controller) architect.

Views

Views, which are basically the frontend html are located in app/Views. You can edit them to add beautiful designs and more.

Controllers

Controllers, which basically allows us to handle request separately and not in the frontend code. It makes our code nicer :)

These can be found in app/Controllers

Models

Models provide an easy interaction with the database, providing helper functions to manipulate the database. These can be found in app/Models

Database Migrations

Database migrations contain the definitions of our database tables. These can be found in app/Database/Migrations.

Installation (5 mins)

To install the system, clone or download the project zip file from the Code button at the top. You should have PHP 8.1 or greater already installed (either via XAMPP, WAMP, or MAMP)

You will also need to download composer and install it.

When the installation is done, you have to move into your working directory eg. cd C:/xampp/htdocs/requisition_system

Database Configurations (3 min)

Database configurations have to be stored in a .env file. The system will throw an error when these configurations are missing so you can copy the env to .env and adjust your database.* and default.login configurations to match your servers and to your linking respectively.

You will also need to create an empty database for the system through your PHPMyAdmin => http://localhost/phpmyadmin matching the provided database.default.database.

Database Seeding (1 min)

Once you have installed and configured the system, you can open the following web page to seed the database http://localhost/requisition_system/sys/install. If all goes well, you'll see a very comforting message.

Admin Auth

Once the preceding step is completed, you will be able to login as an admin using the username and password in the .env file

NB: Additional features may be added at a much later time but is not guaranteed. If you would like to see that, kindly star this project and perhaps create an issue :) - TIA

requisition-system's People

Contributors

im-machakata avatar

Stargazers

 avatar

Watchers

 avatar

requisition-system's Issues

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.