-
Checkout the commit with tag name
assignment-3
(its commit SHA should be0662bbb6ff7d0f69d52ed2899b041ca3bbc06691
) -
Rename the environment variable text files from Canvas and place them at the correct locations:
# one-liners for bash, Windows Powershell 5.1 and Windows Command Prompt mv ./Assignment3-auth.txt ./microservices/auth/.env mv ./Assignment3-user-service.txt ./microservices/user-service/.env mv ./Assignment3-questions-repo.txt ./microservices/questions-repo/.env
-
Install the dependencies and run the various microservices in separate terminals:
# one-liners for Windows Powershell 5.1 cd microservices/front-end; npm install; npm run dev cd microservices/auth; npm install; npm run dev cd microservices/user-service; npm install; npm run start cd microservices/questions-repo; npm install; npm run devstart
# one-liners for bash and Windows Command Prompt cd microservices/front-end && npm install && npm run dev cd microservices/auth && npm install && npm run dev cd microservices/user-service && npm install && npm run start cd microservices/questions-repo && npm install && npm run devstart
-
We have a basic user with username
john
and passwordpassword
, and an admin / maintainer user with usernamemary
and passwordmary
.