Feeling Cozy already?
npm install
You basically have two options.
tsc -p tsconfig.json
node src\index.js
- Hit F5 using the "Launch Program" profile.
Not that we have that many, but you also have two options
- If this is your very first time here, you'll need to run a quick:
tsc -p tsconfig.json
mocha ./src/tests/getDesignByUserIdTests.js
- Open the test file and hit F5 using the "Mocha Current File" profile.
- Get your
awsKey
andawsSecret
from the~/.aws/credentials
file and use it to build the docker Image:docker build --build-arg awsKey=yourkey --build-arg awsSecret=yourSecret -t cozyo .
- Start the docker container:
docker run --name cozy -p 8081:8080 cozyo
To authenticate in the app you can use the following credentials or create a new one:
- Email:
cozy@awesomeapp.com
- Password:
cozyLife
You could either...
- View the test data at:
- Visit the awesome room at:
- Play with the number of items rendered/returned using the
limit
parameter in the URL:
PS: Remember to change the port to 8081
when running from Docker.