All Projects → tosinbot → Mini Crm

tosinbot / Mini Crm

Licence: apache-2.0
Mini CRM with Laravel API and react-native

Projects that are alternatives of or similar to Mini Crm

Dv Php Core
Devless is a ready-made back-end for development of web or mobile applications. It is fully open source under the permissive Apache v2 license. This means that you can develop your front end without worrying about neither back-end code or the business risk of a proprietary backend-as-a-service.
Stars: ✭ 171 (+905.88%)
Mutual labels:  apis, laravel
Laravel Stager
Laravel Stager State Machine, Its purpose is to add state machine functionality to models
Stars: ✭ 16 (-5.88%)
Mutual labels:  laravel
Laravel Event Broadcast
Laravel event broadcasting with Node.js, Redis & Socket.io
Stars: ✭ 5 (-70.59%)
Mutual labels:  laravel
Laravel Like Vue Validator
An input validator mixin for Vue.js
Stars: ✭ 7 (-58.82%)
Mutual labels:  laravel
Laravel Jade
[Discontinued] Laravel package that adds Jade templating support
Stars: ✭ 5 (-70.59%)
Mutual labels:  laravel
Scaffold Interface
🚀 A Smart CRUD Generator For Laravel
Stars: ✭ 836 (+4817.65%)
Mutual labels:  laravel
Laravel Blade Directives
A collection of nice Laravel Blade directives
Stars: ✭ 813 (+4682.35%)
Mutual labels:  laravel
Laravel Jsonapi
Basic setup framework for creating a Laravel JSON-API server
Stars: ✭ 16 (-5.88%)
Mutual labels:  laravel
Laravel Collectable
Stars: ✭ 7 (-58.82%)
Mutual labels:  laravel
Laravel Sluggable
An opinionated package to create slugs for Eloquent models
Stars: ✭ 831 (+4788.24%)
Mutual labels:  laravel
Package Skeleton
📦 My base for PHP packages.
Stars: ✭ 6 (-64.71%)
Mutual labels:  laravel
Adldap2 Laravel
LDAP Authentication & Management for Laravel
Stars: ✭ 825 (+4752.94%)
Mutual labels:  laravel
Laravel Uptime Monitor
A powerful and easy to configure uptime and ssl monitor
Stars: ✭ 837 (+4823.53%)
Mutual labels:  laravel
Transit
Easy file uploading and downloading for Laravel 5.
Stars: ✭ 5 (-70.59%)
Mutual labels:  laravel
Acwa book ru
Книга "Архитектура сложных веб-приложений. С примерами на Laravel"
Stars: ✭ 886 (+5111.76%)
Mutual labels:  laravel
Laravel Love
Add Social Reactions to Laravel Eloquent Models. It lets people express how they feel about the content. Fully customizable Weighted Reaction System & Reaction Type System with Like, Dislike and any other custom emotion types. Do you react?
Stars: ✭ 822 (+4735.29%)
Mutual labels:  laravel
Menu
Menu and sidebar management package for Laravel
Stars: ✭ 6 (-64.71%)
Mutual labels:  laravel
Aetherupload Laravel
A Laravel package to upload large files 上传大文件的Laravel扩展包
Stars: ✭ 835 (+4811.76%)
Mutual labels:  laravel
Laravel Collection Macros
Custom Laravel Collection Macros.
Stars: ✭ 17 (+0%)
Mutual labels:  laravel
Laravel Bootstrap Table List
Bootstrap table list generator for Laravel.
Stars: ✭ 16 (-5.88%)
Mutual labels:  laravel

MINI CRM - Using Laravel 5 and React Native

Quick Start

Backend:

  • Clone repo
  • Run composer install
  • Configure .env file for authenticating via database
  • Run php artisan migrate --seed
  • Run php artisan passport:install for api token

React Native

  • Clone repo
  • Run yarn install
  • Put IP address of backend server in config.js file for root and storage url
  • Run react-native run-android for android app test
  • Run react-native run-ios for ios app test

Live Backend Test

  • Run a PHP built in server from root project:
php -S localhost:8000 -t public/

Or via artisan command:

php artisan serve

To authenticate admin user, make a POST request to /api/login with parameter as mentioned below:

email: [email protected]
password: password

Request:

curl -X POST -F "[email protected]" -F "password=password" "http://localhost:8000/api/login"

Response:

{
  "status": "success",
  "message": "login_successful",
  "data": {
    "token": "a_long_token_appears_here"
  }
}
  • With token provided by above request, you can perform CRUD through api. below are available endpoints

Request:

Employees Endpoints

curl -X GET -H "Authorization: Bearer a_long_token_appears_here" "http://localhost:8000/api/employee/view"

curl -X GET -H "Authorization: Bearer a_long_token_appears_here" "http://localhost:8000/api/employee/view/{id}"

curl -X POST -H "Authorization: Bearer a_long_token_appears_here" "http://localhost:8000/api/employee/create"

curl -X PUT -H "Authorization: Bearer a_long_token_appears_here" "http://localhost:8000/api/employee/edit/{id}"

curl -X DELETE -H "Authorization: Bearer a_long_token_appears_here" "http://localhost:8000/api/employee/delete/{id}"
Companies Endpoints

curl -X GET -H "Authorization: Bearer a_long_token_appears_here" "http://localhost:8000/api/company/view"

curl -X GET -H "Authorization: Bearer a_long_token_appears_here" "http://localhost:8000/api/company/view/{id}"

curl -X POST -H "Authorization: Bearer a_long_token_appears_here" "http://localhost:8000/api/company/create"

curl -X PUT -H "Authorization: Bearer a_long_token_appears_here" "http://localhost:8000/api/company/edit/{id}"

curl -X DELETE -H "Authorization: Bearer a_long_token_appears_here" "http://localhost:8000/api/company/delete/{id}"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].