gmoncloud / mini-crm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Logo

Build Status Total Downloads Latest Stable Version License

Mini CRM Test Project

How to test it?

  1. Pull the main branch to your local machine
  2. Add this to your .env file MAP_BOX_TOKEN=pk.eyJ1IjoiZ21vbmNsb3VkIiwiYSI6ImNsZmpvdzIycjAydzUzdG15NjJwZ3JicHoifQ.QjODdPKjhEFF_rKH1l03tg
  3. Run composer install
  4. Run php artisan migrate
  5. Run php artisan db:seed --class=DatabaseSeeder
  6. Run yarn dev to display the front-end properly
  7. If your are working in a Windows machine make sure you configure your host file to the local domain that you prefer, mine is https://minicrm.local/
  8. Screenshot for login page:

image

  1. Use this credential to login to the admin: username: admin@property.com password: password
  2. Screenshot for the dashboard:

image

PROPERTY TYPE

  1. Visit the property type page: https://minicrm.local/property_types
  2. Create a property type:

image

  1. You can upload multiple images (the system has no limit in image upload, only jpg, jpeg and png should be allowed)
  2. Edit a property type by clicking the 3 dots under action column
  3. Delete a property type
  4. There is a bug in showing the edit property, the is_active is not selected in the display but the update process is working properly.

PROPERTY

  1. Visit the property page: https://minicrm.local/properties

image

  1. Fill out the form property:

image

  1. For the Addressable type make sure your value is using the following: Home, Work, Business, Shipping, Biling, Mailing, Primary, Secondary This supposed to be in a dropdown but its not implemented yet in the front-end. It will create an error if input a value other then those ENUM value specified.
  2. From address 1 until the country fields make sure that you input a correct data to get the correct longitude and latitude from MapBox else it will create an error that I haven't hadled yet.
  3. After filling out the fields check the table for address, the longitude and latitude must have a value (this coming from MapBox already)
  4. The Property Type data when showing the edit is not populating (this is a bug) but the data can be updated propertly
  5. There is no way to delete and update the property images yet.
  6. Delete a property (this will delete also the address associated with it.)

PAGINATION

Pagination will show if the record is >= 10

API endpoint

This will fetch all the records in properties (no token needed) https://minicrm.local/api/v1/properties

File Changes

You can visit here: https://github.com/gmoncloud/mini-crm/pull/1 https://github.com/gmoncloud/mini-crm/pull/2 https://github.com/gmoncloud/mini-crm/pull/3 https://github.com/gmoncloud/mini-crm/pull/4

About


Languages

Language:PHP 51.8%Language:Vue 37.2%Language:Blade 10.3%Language:JavaScript 0.7%Language:CSS 0.0%