Giter Club home page Giter Club logo

flightphp_school's Introduction

FlightPHP simple example project

As base example was taken Django project, which was modified to work with FlightPHP. This is a simple project, which has a login system, access control system, and some modules. This project was created for educational purposes and main goal was to show how to use FlightPHP. This projects allows to manage students, courses, and marks. Original project can be found here: https://github.com/krmu/djangouni

Features

Web: Main project, all addresses Marks: Marks module. Editing, adding, grade history Courses: Courses module. Editing, deleting, adding Students: Students module. Editing, deleting, adding

Info

Currently system uses SQLite database, which is located in /app/djanogunidb.db. There are also sql files for creating tables and inserting data, which can be found in /app/djanogunidb.sql

System has such parts students, courses, marks. Since an already prepared DB was used, courses are called modules in English. The system has a login system, which is based on the darbinieki_user table.

The system has a simple access control system.

Employees have two accesses: staff and admin.

staff: Can do everything except manage employees admin: Can do everything

Default accounts

admin : password teacher : teacher

Installation

  1. Clone the repository
  2. Run composer install
  3. Run on server you need. For example php -S localhost:8000 from folder /public

Images

Students averages table

Averages

All modules

All modules

Add module

Add module

All staff members

All staff

All students

All students

Edit student

Edit students

Edit grade

Edit students

Project structure

/public/ - public folder
    /css/ - css files
    /js/ - js files
    /img/ - images
    index.php - main file
/app/ - main application folder
    /pages/ - pages folder
    config.php - configuration file
    routes.php - routes file
    helpers.php - helper functions
    middlewares.php - middleware functions

flightphp_school's People

Contributors

krmu avatar

Stargazers

 avatar

Watchers

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