Skip to content

ShiddiqRija/employee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Employee Data

 email: [email protected]
 password: password

📖 Introduction

This application intended for technical tests

🌟 Features

This project features all the latest tools and good practices in web development!

Framework

  • 🌅 Laravel – A complete PHP framework.
  • ⚛️ Inertia – Bridges the gap between Laravel application and React frontend.

Package

Starter Kit

  • 🔐 Laravel/Breeze - Breeze provides a minimal and simple starting point for building a Laravel application with authentication.

Data Faker

  • 📝 FakerPHP/Faker - aker is a PHP library that generates fake data for you.

Design System and Animations

  • 🎨 Tailwind - A utility-first CSS framework packed with classes
  • 🎨 Shadcn UI – Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
  • Lucide – Beautiful & consistent icons Made by the community.

▶️ Getting Started

Before you use this repository, make sure you have PHP 8.2 and NodeJS v18

🛠️ Installation

  1. Clone this repository to your local machine:
 $ git clone https://github.com/ShiddiqRija/employee.git
  1. Move yourself to the root of the project:
 $ cd employee
  1. Install all depedencies of the project:
 #For laravel depedencies
 $ composer install
 #For React depedencies
 $ npm install
  1. Do database migration
 #For laravel depedencies
 $ composer install
 #For React depedencies
 $ npm install

or you can import sql file in root of the project into your mysql server

  1. Make sure the database name in .env is the same as the one on the mysql server
 DB_CONNECTION=mysql
 DB_HOST=127.0.0.1
 DB_PORT=3306
 DB_DATABASE=dev_employee
 DB_USERNAME=root
 DB_PASSWORD=

⌨️ Development

Once all dependencies have been installed, you can run the local development server:

 #For running laravel
 $ php artisan serve
 #For running react
 $ npm run dev

🖥️ Production

After applying the changes, you can generate a build to test and/or deploy to your production environment.

Make a production build:

 $ npm run build

About

Intended for technical tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages