Git Product home page Git Product logo

office-meal's Introduction

Work Flow

Resources

See the database schema from here for better understanding.

TODO List

  • Catering module
  • Catering payment module
  • Meal module
  • Meal routine module
  • User module
  • User payment module
  • User meal module
  • Manager module
  • Dashboard analytics

Laravel Application Setup Guide

This guide provides step-by-step instructions for setting up a Laravel application. Laravel is a popular PHP framework that offers a clean and elegant syntax, making it easy to build web applications quickly.

Prerequisites

Before you begin, make sure you have the following installed on your system:

  • PHP (7.4 or higher)
  • Composer
  • MySQL or any other supported database
  • Node.js (14.x or higher)
  • PNPM | Yarn
  • Web server (e.g., Apache or Nginx)

Step 1: Clone the Repository

  1. Open your terminal or command prompt.

  2. Navigate to the directory where you want to store your Laravel application.

  3. Run the following command to clone the repository:

git clone https://github.com/shuvomohajan/office-meal.git

Step 2: Install Dependencies

  1. Navigate into the project's root directory:
cd office-meal
  1. Run the following command to install the project dependencies using Composer:
composer install
  1. Run the following command to install the JavaScript dependencies:
pnpm install
or
yarn install

Step 3: Environment Configuration

  1. Create a copy of the .env.example file and name it .env:
cp .env.example .env
  1. Generate a new application key by running the following command:
php artisan key:generate
  1. Open the .env file and configure the database connection details, such as DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, and DB_PASSWORD, according to your local environment.

Step 4: Database Setup

  1. Create a new database in your MySQL or preferred database system.

  2. Update the .env file with the newly created database credentials.

  3. Run the following command to migrate the database tables:

php artisan migrate
  1. If your application uses seeders, run the following command to seed the database:
php artisan db:seed

Step 5: Serve the Application

  1. Run the following command to build your assets using Vite:
pnpm dev
or
yarn run dev
  1. 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.

  1. 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!

office-meal's People

Contributors

csemazharul avatar shuvomohajan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.