Skip to content

Instantly share code, notes, and snippets.

View turkhero's full-sized avatar

Nedim turkhero

  • Türkiye
View GitHub Profile
@firatkucuk
firatkucuk / rest-endpoint-standards.md
Created July 5, 2019 09:58
REST Endpoint standards for single page applications.

Backend:

GET     /api/some-resource/{uuid}               Get Detail of single resource
POST    /api/some-resource                      Create resource with incoming data
PUT     /api/some-resource/{uuid}               Update resource with incoming data
DELETE  /api/some-resource/{uuid}               Delete resource
GET     /api/some-resources                     List all resources with post data

XXXX    /api/some-resource/{uuid}/some-action   Perform some action for that specified resource
@plentz
plentz / nginx.conf
Last active December 1, 2024 15:39
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048