- Install node.js v8.11.1 or greater
- Open the commandline and navigate to this directory
- Run
npm install
to install all dependencies found inpackages.json
- Open the commandline and navigate to this directory
- Run
au run
to run the server. Add--watch
to watch the local filesystem for changes and to update the running project as changes are made - Navigate to http://localhost:9000/ to see the homepage
- Install nswag using npm by running
npm install -g nswag
from the commandline. If you have already rannpm install
, then this should have been installed for you - Install the .NET Core Runtime v2.0.7
- Run the api server locally from the oureasyregistry-backend repository
- Run the following command in the commandline
nswag swagger2tsclient /input:http://localhost:9001/swagger.json /output:src/resources/client.ts /template:aurelia /runtime:NetCore20
to generate the API client from the Swagger specification