Go to this website: https://code.visualstudio.com/
Install VS Code as directed.
Go to this website: https://nodejs.org/en/download/
Install NodeJS as instructed.
Yarn provides better consistency to ensure all dependencies are equal across development environments. We use Yarn version 1 in this repository.
Install Yarn "Classic", version 1.22.x, at this website: https://classic.yarnpkg.com/en/docs/install#windows-stable
In the future, this repository may be upgraded to Yarn @latest.
Using the github web interface, fork this repository to create your own working copy of this code.
Once the code is local to your machine:
- Open VS Code
- Choose 'Open Folder'
- Choose the folder where this code is saved
- Go to File > Extensions
- Install the following extensions:
- ESLint
- Jest
- Jest Runner
- Prettier ESLint
Once these extensions are configured, install your dependencies:
- Open a Terminal
- Open the Terminal menu item from the top menu
- Select 'New Terminal'
- Run
yarn -v
, ensure you receive1.22.x
- Run
yarn
, you should observe your dependencies being installed.
The following commands, if typed in terminal, will be useful in building the application:
yarn run dev
- a developmental build of the server which will change as you change the internal server code.yarn run start
- starts the server 'normally'yarn run build
- builds the server into thedist
folderyarn run test
- runs all unit tests and code coverage report
Good luck!