Details
Backend Chat API
A backend Chat API written in Laravel with these features:
- Users can send and receive messages
- Users are authenticated in order to send and retrieve messages using Laravel Passport
- Uses cache system to increase speed of message retrieval
- Feature tests written to assert users can login, send messages and retrieve messages
How to use
- Clone project
- Run composer install
- Add .env file and specify credentials for cache and database (if needed)
- Run php artisan migrate for migrations
- Run php artisan db:seed to seed users
- Run php artisan passport:install for laravel passport
- Test endpoints
Endpoints
Testing
Run the feature test - vender/bin/phpunit
|
Name: |
PHP Chat API |
Base name: |
chat_api |
Description: |
Exchange chat messages between users using an API |
Version: |
- |
PHP version: |
5 |
License: |
The PHP License |
|
|
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.
|
Files |
|
File |
Role |
Description |
Kernel.php |
Class |
Class source |
File |
Role |
Description |
app.php |
Class |
Class source |
File |
Role |
Description |
js (2 files) |
lang (1 directory) |
sass (1 file) |
views (1 file) |
File |
Role |
Description |
en (4 files) |
File |
Role |
Description |
app.scss |
Data |
Auxiliary data |