Skip to content

Instantly share code, notes, and snippets.

View DiegoDoniss's full-sized avatar
🏠
Working from home

Diego Jared Donis Soto DiegoDoniss

🏠
Working from home
View GitHub Profile
@DiegoDoniss
DiegoDoniss / CountryCodes.json
Created January 10, 2023 17:07 — forked from anubhavshrimal/CountryCodes.json
Country and Dial or Phone codes in JSON format
[
{
"name": "Afghanistan",
"dial_code": "+93",
"code": "AF"
},
{
"name": "Aland Islands",
"dial_code": "+358",
"code": "AX"
@DiegoDoniss
DiegoDoniss / app.ts
Created April 6, 2022 17:19
Typescript: Express initial app
//importaciones de express
import express, { Application, json, urlencoded } from "express";
import cors from "cors";
import dotenv from 'dotenv'
//importacion de rutas
dotenv.config()
function settings(): void {
app.set("port", process.env.PORT || 3000);
}