Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rproenza86/commodity-histogram
Commodity Histogram is a simple Web Application that process CSV files containing agricultural data and compute its histogram.
https://github.com/rproenza86/commodity-histogram
jest-test nextjs nodejs reactjs typescript vercel
Last synced: 11 days ago
JSON representation
Commodity Histogram is a simple Web Application that process CSV files containing agricultural data and compute its histogram.
- Host: GitHub
- URL: https://github.com/rproenza86/commodity-histogram
- Owner: rproenza86
- Created: 2023-03-15T05:51:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-03-16T17:02:17.000Z (over 1 year ago)
- Last Synced: 2024-05-28T17:34:46.507Z (6 months ago)
- Topics: jest-test, nextjs, nodejs, reactjs, typescript, vercel
- Language: TypeScript
- Homepage: https://commodity-histogram-elnx.vercel.app
- Size: 5.99 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Commodity Histogram
> [Check the webapp online here!](https://commodity-histogram.vercel.app)
**Commodity Histogram** is a simple Web Application that process CSV files containing agricultural data and compute its histogram.
## Demo
### CommodityType API endpoint
![app demo screenshot](docs/screenshots/comodityType-endpoint.png)
### Commodity API endpoint
![app demo screenshot](docs/screenshots/comodity-endpoint.png)
### End to End
![app demo screenshot](docs/screenshots/demo.gif)
### Unit test
![app demo screenshot](docs/screenshots/testing.png)
## Features/Technical highlights
- Hosting : Vercel
- Javascript Framework: ReactJS and NextJS
- Javascript version: ES6
- Javascript libraries: Typescript, Jest## Setup
Create `.env` file and add the next content to run the app locally
```
API_URL=http://localhost:3000
``````bash
$ npm i
$ npm run dev
```## Testing
```bash
$ npm i
$ npm run test
```