/cat-card

Primary LanguageJavaScript

Cat Card Application (Nodejs v16.16.0)


User can bind the two images according to the passed parameters using the given API

Install steps

1.Clone the code base
2.npm install
3.Make a copy of sample.env file as a .env (`cp sample.env .env`)
4.Make sure all the variables are created in .env
4.Run `npm start` (service will be run on given port which in .env, example : http://localhost:3002)
5.Use this API documentation for called the API   
6.Image will be saved in the given folder in .env
7.Congratulations!. You have done it

API Documentation

NPM scripts

  • npm start - start application
  • npm run test - run Jest test
  • npm run test-watch - run Jest test watch mode
  • npm run prod - run application in production