This application uses Vue 2 and Bootstrap on the frontend for an interactive and responsive UI. The backend is built with Laravel which uses MySQL for data management.
For a live demo of the application, please visit: https://darrels-authentication-form.web.app
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Here are the steps to install and setup the application.
- NodeJS
- Vue CLI
- Laravel
- MySQL
Clone the repository by running command:
git clone git@github.com:DarrelMendoza/authentication-form.git
The Laravel file named app.php
is located in the api
folder.
- Install XAMPP for our MySQL database.
- Open XAMPP control panel and start the Apache and MySQL services.
- Navigate to
http://localhost/phpmyadmin/
on your browser. - Click on 'Import' and choose the exported database file from the
db
folder. Click 'Go' to import the database. - Install Laravel for our application's backend.
- Navigate to the
api
folder. - Run
composer install
to install the required dependencies. - Run
php artisan migrate
to create the tables.
Make sure that you have the Vue CLI installed globally. If not, install it using the following command:
npm install -g @vue/cli
- Navigate to the root directory of the project.
- Run
npm install
to install all the required dependencies.
To run the application, you need to start both the backend and the frontend servers.
Navigate to the api
folder.
Run the following command to start the server:
php artisan serve
You should now have your backend running on http://localhost:8000/.
Navigate to the root directory of the project. Run the following command to start the Vue dev server:
npm run dev
You should now have your frontend running on http://localhost:8080/. Visit http://localhost:8080/ in your browser. Your application should be up and running.
Below are some more screenshots demonstrating the features of the application.
Feel free to fork this repository and enhance the application.