Manage the environment using dotenv
Modify .env file to update environments
Install node modules before run project
Start server with dev mode
Run server on localhost with watching file changes using ts-node and nodemon
Start server with dev mode (VSCode)
Create /.vscode/launch.json file with the following contents
{
"version" : " 0.2.0" ,
"configurations" : [
{
"name" : " Launch via NPM" ,
"request" : " launch" ,
"runtimeArgs" : [
" run-script" ,
" dev"
],
"runtimeExecutable" : " npm" ,
"skipFiles" : [
" <node_internals>/**"
],
"type" : " node"
}
]
}
Run ESLint for typescript codes in project
Run Jasmine with typescript spec codes
Write the spec codes in /spec folder
Compile application sources from typescript to javascript using tsc in typescript
Also, this command copies the /public folder into /dist for build includes the asset files
Start server with compiled javascript sources
Add model validate from request object.
Add scripting tutorial
Add redis handling solution