- Pull the
main
branch to your local machine - Add this to your .env file
MAP_BOX_TOKEN=pk.eyJ1IjoiZ21vbmNsb3VkIiwiYSI6ImNsZmpvdzIycjAydzUzdG15NjJwZ3JicHoifQ.QjODdPKjhEFF_rKH1l03tg
- Run
composer install
- Run
php artisan migrate
- Run
php artisan db:seed --class=DatabaseSeeder
- Run
yarn dev
to display the front-end properly - 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/
- Screenshot for login page:
- Use this credential to login to the admin: username: admin@property.com password: password
- Screenshot for the dashboard:
- Visit the property type page: https://minicrm.local/property_types
- Create a property type:
- You can upload multiple images (the system has no limit in image upload, only jpg, jpeg and png should be allowed)
- Edit a property type by clicking the 3 dots under action column
- Delete a property type
- 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.
- Visit the property page: https://minicrm.local/properties
- Fill out the form property:
- 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 thoseENUM
value specified. - 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.
- After filling out the fields check the table for address, the longitude and latitude must have a value (this coming from MapBox already)
- The Property Type data when showing the edit is not populating (this is a bug) but the data can be updated propertly
- There is no way to delete and update the property images yet.
- Delete a property (this will delete also the address associated with it.)
Pagination will show if the record is >= 10
This will fetch all the records in properties (no token needed) https://minicrm.local/api/v1/properties
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