Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmmmwh/currency-convert
https://github.com/pmmmwh/currency-convert
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/pmmmwh/currency-convert
- Owner: pmmmwh
- Created: 2020-08-11T15:45:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-28T12:41:16.000Z (8 months ago)
- Last Synced: 2024-05-02T06:12:58.491Z (6 months ago)
- Language: TypeScript
- Size: 268 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Currency Convert
This is a monorepo for all things related to the currency convert application.
## Development
This repository is managed using [Lerna](https://lerna.js.org) via [Yarn v1](https://classic.yarnpkg.com) workspaces.
To get things started, run the following command:
```sh
yarn bootstrap
```It will tell Lerna to install project dependencies and link up all services.
You can then start development on the separate services of the project, either by moving into its directory:
```sh
cd services/
yarn dev
```Or, alternatively, starting at root:
```sh
yarn workspace @currency-convert/ dev
```You can also start working on both the client and the server:
```sh
yarn lerna run --parallel dev
```### Dependencies
You can add dependencies to each services' `package.json` as if they are not in a monorepo.
However, if you're adding `devDependencies`, Lerna suggests hoisting them at the monorepo's root for consistency.
You can do that by installing the dependency first, then run the following command at monorepo root:```sh
yarn convert
```### Code Formatting
This project adopts [Prettier](https://prettier.io) as the primary code formatter.
You can format all code by running:```sh
yarn format
```### Type Checking
This project is written in full [TypeScript](https://www.typescriptlang.org).
You can type-check all code by running:```sh
yarn type-check
```It will spawn up separate instances of the TypeScript compiler in all services and check for any errors in parallel.
## Documentation
For more information about the project, you can read the [documentation](./docs).