-
Clone this repository
git clone https://github.com/indraarianggi/learn-expressjs-typescript.git
-
Install dependencies
yarn install
-
Create
.env
file and copy from.env.example
file. Change the value with your config. -
Create a mysql database with the same name you set in the
.env
file. -
Execute this command to compile typescript file
yarn ts
Open another terminal and execure this command to run the app
yarn dev