Giter VIP home page Giter VIP logo

vouchermanager's Introduction

Voucher Manager

A voucher manager to create discount codes for offers

Getting Started

This web app was built using Zend Framework, Smarty, JQuery, Twitter-bootstrap and much passion for our work!

Installing

Clone the project files.

$ git clone [email protected]:leonardoad/voucherManager.git

Crate and set permission to the templates and images folder:

/Libs/View/templates_c

Restore the database using the script that is on the path

/res/db/voucher.sql

Configure the database access information on the file /site/Application/Config.ini like the example below

db.adapter = pdo_mysql
db.config.host = localhost
db.config.username = root
db.config.password = 'mypassword'
db.config.dbname = voucher

To log in as site master admin use: user: admin password: menuap

Author

Running the tests

Composer

With the composer installed, run the command:

composer install

It will install the dependencies for the tests

Tests

Open the comand line prompt on the project's root folder and execute the comand:

vendor/bin/phpunit --bootstrap ./site/Application/Models/Voucher.php ./tests/VoucherTest 

Testing API with Postman

All the API requests are on a Postman Collection:

Postman - Postman API Documentation

Built With

Database Schema

Database Schema

Voucher Generator Screen

Generator

Voucher List Screen

List

vouchermanager's People

Contributors

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