- Login and logout with a json file as user storage
- Controlled user session set to 10 minutes
- Show data from a JSON in a JS Grid
- Pagination of the data configured by the grid
- Employees CRUD Create Read Delete and Update with a json file as employees storage
- Employee page with employee detail
- External web service to get employees images
- Employee avatar through web service images
This file structure has a specific purpose. So you have to implement all the required over it. Later when we get to OPP and MySQL we will refactor the project to get it more sophisticated, modern and cleaner. Please take care of it!!
assets/
resources/
src/
/library
- Assets contains html, css, js & images
- Css just css files.
- Resources folder contains users.json and employees.json
- Src folder contains PHP files which contain HTML or JS
- Src/library folder contains PHP files that contain just PHP
The first step is make a diagram of the actions The second step is divide the main functionalities in smaller functions The way we take to develop was:
- Login
- Show the users data on dashboard
- Adding users
- Update users data
- Delete users
- Show all data users on employees.php
- Import Api images
- Log out
HTML, JS, CSS, PHP, APACHE, BEM, SMACSS, CRUD, MVC
We use pixabay API to fecth the images.