An open API service indexing awesome lists of open source software.

https://github.com/rameshvarun/comparecloud

A simple tool to compare cloud storage options by price. Created using React and TypeScript.
https://github.com/rameshvarun/comparecloud

react typescript webpack

Last synced: 3 months ago
JSON representation

A simple tool to compare cloud storage options by price. Created using React and TypeScript.

Awesome Lists containing this project

README

          

# comparecloud
[![Node.js CI](https://github.com/rameshvarun/comparecloud/actions/workflows/node.js.yml/badge.svg)](https://github.com/rameshvarun/comparecloud/actions/workflows/node.js.yml)

![screenshot](./screenshot.png)

## Contributing

First, get a copy of the repo and dependencies.

```bash
git clone git@github.com:rameshvarun/comparecloud.git
cd comparecloud
npm install

# Start a live-reloading server.
npm start
```

You can now start editing the providers in `src/providers/*.ts`. Providers conform to the interface in `src/provider.ts`.

```typescript
export default interface Provider {
readonly name: string;
...

readonly features: {
...
};

getMonthlyPrice?: (storage: number) => number | undefined;
getYearlyPrice?: (storage: number) => number | undefined;
}
```