Giter Club home page Giter Club logo

mini-crm's Introduction

Mini CRM App

This is a simple min-crm application consists of two models, Company and Employee and the relation between two models is one to many. One Company has many Employees.

Database Schema

Pre-requisites tools versions to avoid any problem

  • PHP version 8.1.0
  • Laravel version ^9.19

Steps for running project

1- Clone the project

git clone https://github.com/Elsayed93/pharmacies-products.git

If you want SSL

git clone [email protected]:Elsayed93/pharmacies-products.git

2- Make sure you are in the project directory and composer install

composer install

3- copy .env-example file and rename the copied file .env

4- Create Database and fill database credentials in .env file

5- Run migrate command

6- Generate App Key

cp .env-example .env

php artisan migrate

php artisan key:generate

7- npm install && npm run dev.

Because We use Laravel 9 and it use Vit tool bundler by default. So To avoid vite manifest file not found error, Please run these commands:

npm install
npm run dev

8- Run the server

php artisan serve

We Store Company Logo image in storage/app/public/companies directory. To make this directory accessible in public folder, Please run this command:

php artisan storage:link

Notice: Please Create the companies directory manually at the beginning and save default image for companies in it and rename this image company.png to render default images for companies.

Factories and Seeders

- There is AdminSeeder to enable an admin to login.
- There are another two seeders for Companies and Employees (For Testing Purposes), Feel free to seed data if you want to fill the application with fake data.

THANK YOU :)

mini-crm's People

Watchers

Elsayed Elbeshry 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.