This file contains hidden or 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
// Örnek bir docker-compose.yaml dosyası / An example of docker-compose.yaml | |
// ExpressJS ve NodeJS ile oluşturulan image Dockerfile ile belirtiliyor. | |
// Kerim Kaan Dönmez | |
// kerimkaan.com / github.com/kerimkaan | |
// İlgili https://kerimkaan.com/expressjs-mongodb-konteynerizasyonu/ | |
version: "3" | |
services: | |
api: | |
container_name: api |
This file contains hidden or 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
/* | |
ExpressJS projeleri için örnek bir Dockerfile dosyası | |
An example Dockerfile for ExpressJS projects | |
Kerim Kaan Dönmez | |
kerimkaan.com / github.com/kerimkaan | |
İlgili yazı: https://kerimkaan.com/expressjs-mongodb-konteynerizasyonu/ | |
*/ | |
FROM node:15.11.0-alpine3.10 # Kullanacağımız NodeJS versiyonu 15.11.0 ve Alpine Linux işletim sisteminin 3.10 sürümü |
This file contains hidden or 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
import http.client | |
conn = http.client.HTTPSConnection("ismetozel.herokuapp.com") | |
payload = "" | |
conn.request("GET", "/rastgele/json", payload) | |
res = conn.getresponse() | |
data = res.read() |
This file contains hidden or 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
/* Arduino ile IR Kontrolü | |
* | |
* IR alıcı 13. dijital pine bağlı | |
* Servo motor 9. dijital pine bağlı | |
* | |
* kerimkaan.com | |
* | |
*/ | |