- Git - Download & Install Git.
- Node.js - Download & Install Node.js and the npm package manager.
git clone {repository URL}
npm install
npm start
After starting the app on port (4000 as default) you can open in your browser OpenAPI documentation by typing http://localhost:4000/doc/. For more information about OpenAPI/Swagger please visit https://swagger.io/.
After application running open new terminal and enter:
To test without authorization
npm test
To test with authorization
npm run test:auth
If you're using VSCode, you can get a better developer experience from integration with ESLint and Prettier extensions.
npm run lint
Press F5 to debug.
For more information, visit: https://code.visualstudio.com/docs/editor/debugging
node caesar -a <action> -s <number> -i <filename> -o <filename>
-a, --action is requiered option. Should be one of encode/decode action.
-s, --shift is requiered option. Should be a number of shift. A number should be positive
-i, --input is optional. If input is defined the text for encoding/decoding will be taken from it. If input is not defined, text will be taken from terminal input.
-o, --output is optional. If output is defined the text for encoding/decoding will be taken from it. If output is not defined, text will be put intoto terminal.