You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chabardes edited this page May 4, 2022
·
14 revisions
First step: setup the dojo !
1. Clone the repo
git clone git@github.com:pchab/nest-ddh-dojo.git
2. Install
install the packages
npm install
create a db
createdb dojo
create a .env file with the db configuration
POSTGRES_DB=dojo
3. Run
npm run start:dev
That's it, the server is running. Take a look at the package.json file to see the available scripts: lint, tests ...
Additional tips
Debugger
With the command palette (⌘⇧P), you can switch the auto-attach feature to the smart mode. Then, if you start the server in a VSCode terminal, you will be able to add breakpoints to your code. This is most useful if you need to understand what's going on when the code is running.