This is a simple web application that allows you to manage a list of people.
Before running this application, make sure you have the following prerequisites installed on your system:
- PHP (>= 7.4)
- Composer
- SQLITE
-
Clone the repository to your local machine: git clone https://github.com/ArKive-dev/People-app.git
-
Navigate to the project directory: cd People-app
-
Install the project dependencies using Composer: composer install
-
Create a new SQLITE database for the application and name it "database.sqlite".
-
Open the
.env
file and update the database configuration with your SQLITE credentials:
DB_CONNECTION=sqlite
-
Run the database migrations to create the necessary tables: php artisan migrate
-
Start the development server: php artisan serve
-
Open your web browser and visit
http://localhost:8000
to access the application.
- The homepage (
/
) will display a welcome message. - The database page (
/database
) will show a paginated list of people stored in the database. - To add a new person, fill out the form on the database page and click "Add Person".
- To edit a person, click the "Edit Person" button next to their details, make the necessary changes in the form, and click "Save".
- To delete a person, click the "Delete Person" button next to their details.
- You can search for people by entering a search query in the search bar and clicking "Search". The results will be displayed below.