Skip to content

Instantly share code, notes, and snippets.

Working from home

Diego Jared Donis Soto DiegoDoniss

Working from home
View GitHub Profile
DiegoDoniss / app.ts
Created Apr 6, 2022
Typescript: Express initial app
View app.ts
//importaciones de express
import express, { Application, json, urlencoded } from "express";
import cors from "cors";
import dotenv from 'dotenv'
//importacion de rutas
function settings(): void {
app.set("port", process.env.PORT || 3000);