Setest/tj_beejee

★ 0Forks 0PHPGitHub ↗Compare

README

Initialization

  • Just run make install
  • You can also get help by all cmds, type make help.
  • For creating migration: make migrate-gen
  • For rollup migration: make migrate
  • To start all services make up
  • For any trouble use make ccs to clear cache

Before you begin edit .env file and put your NGINX_HOST_HTTP_PORT

Description

Php 8.2. Native JS with minimum code is used. The database is sqllite. It turned out to be a miniature framework. Navigation construction is based on a routing file, there is a division of elements by access. Users are authorized using data from the database. In JS code used different approach in different places. The working environment is based on docker. The main control is done by commands from makefile. There are TODOs in the code, you can follow the recommendations on them.

Task

Create a task book application (ToDo list). PHP frameworks cannot be used, libraries can be used. Complex architecture is not needed. You need to implement the MVC model in the application using pure PHP.

Links

TODO`s

  • add xdebug
  • create base route controller
  • add renderer and home template with assets and bootstrap
  • add some image in assets just for fun
  • realize migrations package and base migration
  • add DB service
  • create task model
  • show tasks list
  • add pagination feature in tasks list
  • add sort feature in tasks list, should be remembered in url path
  • add creating task form, success form and error
  • add insert data controller, input data validator
  • create user model
  • add auth page and auth controller
  • add session handler
  • add login (with logout)
  • edit task by admin
  • fill readme file
  • write tests
  • deploy into production

Contributors

Setest

Issues