-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from karlomikus/develop
Merge 051
- Loading branch information
Showing
11 changed files
with
257 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,14 @@ Bar assistant is a self hosted application for managing your home bar. It allows | |
|
||
This repository only contains the API server, if you are looking for easy to use web client, take a look at [Salt Rim](https://github.com/karlomikus/vue-salt-rim). | ||
|
||
<p align="center"> | ||
<a href="https://bar-api.karlomikus.com" target="_blank">Click here to view API demo.</a> | ||
<br> | ||
<a href="https://bar.karlomikus.com" target="_blank">Click here to view frontend demo.</a> | ||
<br> | ||
<strong>Email:</strong> [email protected] · <strong>Password:</strong> password | ||
</p> | ||
|
||
## Features | ||
- Includes all current IBA cocktails | ||
- Over 100 ingredients | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
<?php | ||
|
||
return [ | ||
/* | ||
* Determine if the response cache middleware should be enabled. | ||
*/ | ||
'enabled' => env('RESPONSE_CACHE_ENABLED', true), | ||
|
||
/* | ||
* The given class will determinate if a request should be cached. The | ||
* default class will cache all successful GET-requests. | ||
* | ||
* You can provide your own class given that it implements the | ||
* CacheProfile interface. | ||
*/ | ||
'cache_profile' => Spatie\ResponseCache\CacheProfiles\CacheAllSuccessfulGetRequests::class, | ||
|
||
/* | ||
* Optionally, you can specify a header that will force a cache bypass. | ||
* This can be useful to monitor the performance of your application. | ||
*/ | ||
'cache_bypass_header' => [ | ||
'name' => env('CACHE_BYPASS_HEADER_NAME', null), | ||
'value' => env('CACHE_BYPASS_HEADER_VALUE', null), | ||
], | ||
|
||
/* | ||
* When using the default CacheRequestFilter this setting controls the | ||
* default number of seconds responses must be cached. | ||
*/ | ||
'cache_lifetime_in_seconds' => env('RESPONSE_CACHE_LIFETIME', 60 * 60 * 24 * 7), | ||
|
||
/* | ||
* This setting determines if a http header named with the cache time | ||
* should be added to a cached response. This can be handy when | ||
* debugging. | ||
*/ | ||
'add_cache_time_header' => env('APP_DEBUG', true), | ||
|
||
/* | ||
* This setting determines the name of the http header that contains | ||
* the time at which the response was cached | ||
*/ | ||
'cache_time_header_name' => env('RESPONSE_CACHE_HEADER_NAME', 'laravel-responsecache'), | ||
|
||
/* | ||
* This setting determines if a http header named with the cache age | ||
* should be added to a cached response. This can be handy when | ||
* debugging. | ||
* ONLY works when "add_cache_time_header" is also active! | ||
*/ | ||
'add_cache_age_header' => env('RESPONSE_CACHE_AGE_HEADER', false), | ||
|
||
/* | ||
* This setting determines the name of the http header that contains | ||
* the age of cache | ||
*/ | ||
'cache_age_header_name' => env('RESPONSE_CACHE_AGE_HEADER_NAME', 'laravel-responsecache-age'), | ||
|
||
/* | ||
* Here you may define the cache store that should be used to store | ||
* requests. This can be the name of any store that is | ||
* configured in app/config/cache.php | ||
*/ | ||
'cache_store' => env('RESPONSE_CACHE_DRIVER', 'file'), | ||
|
||
/* | ||
* Here you may define replacers that dynamically replace content from the response. | ||
* Each replacer must implement the Replacer interface. | ||
*/ | ||
'replacers' => [ | ||
\Spatie\ResponseCache\Replacers\CsrfTokenReplacer::class, | ||
], | ||
|
||
/* | ||
* If the cache driver you configured supports tags, you may specify a tag name | ||
* here. All responses will be tagged. When clearing the responsecache only | ||
* items with that tag will be flushed. | ||
* | ||
* You may use a string or an array here. | ||
*/ | ||
'cache_tag' => '', | ||
|
||
/* | ||
* This class is responsible for generating a hash for a request. This hash | ||
* is used to look up an cached response. | ||
*/ | ||
'hasher' => \Spatie\ResponseCache\Hasher\DefaultHasher::class, | ||
|
||
/* | ||
* This class is responsible for serializing responses. | ||
*/ | ||
'serializer' => \Spatie\ResponseCache\Serializers\DefaultSerializer::class, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters