A Pen by Barrett Sonntag on CodePen.
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
/ | |
# API Design Patterns And Use Cases | |
This document lists various useful patterns for API design. We encourage API developers to consider the following patterns as a guide while designing APIs for services. | |
### Document Semantics, Formatting, and Naming | |
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC 2119](https://www.ietf.org/rfc/rfc2119.txt). |
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
{ | |
"Abia": [ | |
"Aba", | |
"Arochukwu", | |
"Umuahia" | |
], | |
"Adamawa": [ | |
"Jimeta", | |
"Mubi", | |
"Numan", |
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
<?php | |
return [ | |
'Abia' => [ | |
'Aba', | |
'Arochukwu', | |
'Umuahia', | |
], | |
'Adamawa' => [ | |
'Jimeta', |
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
<VirtualHost *:80> | |
DocumentRoot "/home/dev/server/project/dist/" | |
ServerName vuejs.project.local | |
<Directory /home/dev/server/project/dist/> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride all | |
Require all granted | |
Order allow,deny | |
allow from all |
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
#!/usr/bin/env zsh | |
sudo rm -f /usr/bin/node | |
sudo rm -f /usr/bin/npm | |
sudo ln -s $(which node) /usr/bin/ | |
sudo ln -s $(which npm) /usr/bin/ |
mkdir -p /usr/local/etc/nginx/sites-{enabled,available}
cd /usr/local/etc/nginx/sites-enabled
ln -s ../sites-available/default.conf
ln -s ../sites-available/default-ssl.conf
File locations:
nginx.conf
to/usr/local/etc/nginx/
default.conf
anddefault-ssl.conf
to/usr/local/etc/nginx/sites-available
homebrew.mxcl.nginx.plist
to/Library/LaunchDaemons/
A screenshot can be found here
Images
- https://media.cheggcdn.com/media/b9d/b9d19b2f-e7e9-43ed-80a8-f5cc4cbe8654/phplW5wFH.png
- https://media.cheggcdn.com/media/027/027c0228-323d-43ee-b9dd-a766b1548eb0/phpY2i471.png
- https://media.cheggcdn.com/media/f14/f1469362-2e60-44b8-9e91-db999d3002ed/phpvzNLiP.png
The question seems to have changed though