Skip to content

hamax97/punkave-backend-challenge

Repository files navigation

P'UNK AVENUE Backend Challenge

Solution to the P'unk Avenue backend challenge as proposed here.

Tech stack used:

  • NestJS (NodeJS).
  • Jest.
  • TypeScript.
  • Docker, hosted in Linode.
  • MongoDB, hosted in MongoDB Cloud.

Deploy

Tag Docker image

docker build --network host -t hamax97/punkave-backend-challenge .

Test Docker image

docker run --env-file .env -p 80:3000 hamax97/punkave-backend-challenge

Push Docker image

docker push hamax97/punkave-backend-challenge

Deploy Docker container

docker pull hamax97/punkave-backend-challenge
docker run --env-file .env -p 80:3000 -d hamax97/punkave-backend-challenge

Develop

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Testing

# unit tests
$ npm run test

# test coverage
$ npm run test:cov

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors