See the database schema from here for better understanding.
- Catering module
- Catering payment module
- Meal module
- Meal routine module
- User module
- User payment module
- User meal module
- Manager module
- Dashboard analytics
Before you begin, make sure you have the following installed on your system:
- Composer
- PHP (8.2 or higher)
- Node.js (14.x or higher)
- Web server (e.g., Apache or Nginx)
-
Open your
terminal
or command prompt. -
Navigate to the directory where you want to store your Laravel application.
-
Run the following command to clone the repository:
git clone https://github.com/shuvomohajan/office-meal.git
- Navigate into the project's root directory:
cd office-meal
- Run the following command to install the project dependencies using Composer:
composer install
- Run the following command to install the JavaScript dependencies:
pnpm install
or
yarn install
- Create a copy of the
.env.example
file and name it.env
:
cp .env.example .env
- Generate a new application key by running the following command:
php artisan key:generate
- Run the following command to migrate the database tables:
php artisan migrate --seed
- Run the following command to build your assets using
Vite
:
pnpm dev
or
yarn run dev
- Use the following command to start the Laravel development
server
:
php artisan serve
if you using laragon or laravel valet? then you don't have to start development server
. just goto the respected url which is provided by laragon or laravel valet.
- Open your web browser and visit http://localhost:8000 to see your Laravel application running.
Conclusion You have successfully set up your Laravel application! Now you can start building your web application using the powerful features and tools provided by Laravel. Happy coding!