/koinx-passbook

Express.js API Service for Storing crypto transactions of a user, Fetch Ethereum rates periodically, Fetch Balance of user

Primary LanguageJavaScript

koinx-passbook

Store crypto transactions of a user, Fetch Ethereum rates periodically, Fetch Balance of user

Get Started

Get started developing...

# install deps
npm install

# run in development mode
npm run dev

Install Dependencies

Install all package dependencies (one time operation)

npm install

Run It

Run in development mode:

Runs the application is development mode. Should not be used in production

npm run dev

or debug it

npm run dev:debug

Run in production mode:

Compiles the application and starts it in production production mode.

npm run compile
npm start

Assignment Details

  • Assignment problem statment- link
  • Tasks completed:
    • Task 1, 2, 3
    • Optional Task 1
  • Api Spec has details for endpoints and Parameters, access it on http://localhost:3000.

Try It

  • Open your browser to http://localhost:3000
  • Invoke the /examples endpoint
    curl http://localhost:3000/api/v1/examples

Debug It

Debug the server:

npm run dev:debug

Debug with VSCode

Add these contents to your .vscode/launch.json file

Lint It

View prettier linter output

npm run lint

Fix all prettier linter errors

npm run lint