Skip to content

🔮 Code playground (ThreeJs, TypeScript, Docker, Moca, Swagger, etc..)

License

Notifications You must be signed in to change notification settings

TheXConsultoria/cozy

 
 

Repository files navigation

cozy

Feeling Cozy already?

cozy

First things first

  • npm install

Running this project

You basically have two options.

1. Compile and start by hand

  • tsc -p tsconfig.json
  • node src\index.js

2. Compile and start using VSCode

  • Hit F5 using the "Launch Program" profile.

Runing the tests

Not that we have that many, but you also have two options

1. Run tests by hand

  • If this is your very first time here, you'll need to run a quick: tsc -p tsconfig.json
  • mocha ./src/tests/getDesignByUserIdTests.js

2. Use VSCode to run the tests

  • Open the test file and hit F5 using the "Mocha Current File" profile.

Docker

  • Get your awsKey and awsSecret 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

Default login information

To authenticate in the app you can use the following credentials or create a new one:

  • Email: cozy@awesomeapp.com
  • Password: cozyLife

What can I do with this?

You could either...

PS: Remember to change the port to 8081 when running from Docker.

API Reference

Extra info

Build Status Known Vulnerabilities

About

🔮 Code playground (ThreeJs, TypeScript, Docker, Moca, Swagger, etc..)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.4%
  • TypeScript 6.2%
  • HTML 1.1%
  • CSS 0.3%