- Install
docker
anddocker-compose
. - Install
nodejs
andyarn
. - Add VSCode extensions for
eslint
andprettier
. - Adjust
eslint
settings in VSCode.
"editor.formatOnSave": false,
"eslint.autoFixOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "typescript",
"autoFix": true
},
{
"language": "typescriptreact",
"autoFix": true
}
]
- Run
yarn
to install the dependencies
- Run
docker-compose up -d
to start anddocker-compose down
to stop the MongoDB Database. - Run
yarn start
to start the API Server.