Skip to content

dpratt747/url-shortener-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project setup:

npm init -y

npm install typescript @types/node --save-dev

npx tsc --init

mkdir src
touch src/index.ts

npm install ts-node nodemon --save-dev

Running:

npm run dev
# or with nodemon:
npm run watch

Production:

npm run build
npm run start

Like ZIO but flipped (confusingly):

Effect<A, E, R> A -> actual value / success channel E -> errors R -> requirements /environment

Running a typescript file:

ts-node src/test.ts
nodemon --exec ts-node src/index.ts

http://localhost:8080/docs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors