npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

exchange-rate

v1.0.1

Published

This is AfterShip Git Challenge about Exchange Rate Solution

Downloads

4

Readme

exchange-rate

This is AfterShip Git Challenge about Exchange Rate Solution and focus on back-end solution.

exchange-rate is a API server that delivering real-time exchange rate data around 170 counties. The server given mutiple endpoints and serving different use case. Endpoint functionalities include getting exchanged rate date for all or specificed set of currenicies, converting amounts from one currency to another, retrieving time series data for one or multiple currencies.

Outstanding

Due to time limitation, there are lots of fetaure and sercuirty haven't implment and I will list it one by one.

Feature:

  • Fluctuation (Provide the rate changes from start date to end date, also providing higest, lowest and average rate between the timeframe)
  • Front-end GUI Security:
  • User Authenication (A unique key assigned to each API account used to authenticate with the API)
  • MongoDB SSL Connection Monitoring:
  • Process Monitoring
  • API staus Automation
  • Automation Data Import

Artitecture

This solution was used three tier network architecture to design.

Image of architecture

Technologies

Language

  • Node.js (v8.10.0)

Libaray

  • express (4.16.3)
  • log4js (2.5.3)
  • mongoose (5.0.11)
  • uuid (3.2.1)

Libaray for development

  • chai (4.1.2)
  • chai-http (4.0.0)
  • mocha (5.0.5)
  • should (13.2.1)

Database

  • MongoDB (3.6)

Tool

  • PM2

API Specification