The Visitor Management System is a web application built with Laravel that allows users to register and manage visitors.
Make sure you have the following software installed on your local machine:
- PHP (version 7.3 or higher)
- Composer
- MySQL
Follow these steps to set up and run the project on your local machine:
-
Clone the repository:
git clone https://github.com/yyueniao/visitor-management-system.git
-
Navigate to the project directory:
cd visitor-management-system
-
Install the dependencies via
npm
:npm install
-
Install the dependencies via
composer
:composer install
-
Create a copy of the
.env.example
file and rename it to.env
:cp .env.example .env
-
Generate the application key:
php artisan key:generate
-
Update the
.env
file with your database credentials. -
Run the database migrations:
php artisan migrate
-
Start the local development server:
php artisan serve
-
Access the application in your web browser at
http://localhost:8000
.
- If you want to use a different web server (e.g., Apache or Nginx), configure it to point to the
public
directory of the project.