Skip to content

Limpi23/TypescriptServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

TypescriptServer

configure server with typescript

FIRST TypeScript installed as a global

$ npm i -g typescript

SECOND create typescript project

$ cd folderProject
$ npm init -y
$ tsc --init

THIRD create the following structure

$ mkdir src dist src/routes src/controllers src/config
$ touch src/index.ts src/config/constants.ts

install the following dependencies

$ npm i express
$ npm i -D concurrently nodemon @types/express

About

configure server with typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages