Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nitvex/m2-test
https://github.com/nitvex/m2-test
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nitvex/m2-test
- Owner: Nitvex
- Created: 2024-06-19T15:26:59.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-06-19T15:28:06.000Z (5 months ago)
- Last Synced: 2024-06-20T17:22:14.291Z (5 months ago)
- Language: TypeScript
- Size: 84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# M2 technical task
In order to run the project:
```
npm install
npm run dev
```To run the tests:
```
npm run test
```Technology stack used: React.js, CSS, ChartJs, TypeScript, Vite.js.
There is no any state manager as the project is quite simple and there is no shared state in multiple pages.
The usage of technologies is explained by application simplicity and time constraints. All of these technologies are well-known, established and do not require a lot of time to setup.Project structure:
```
./src
-- /api/ – Utility functions for sending requests to external services
-- /components/ – Components reused across pages
-- /pages/ – Pages components
```> NOTE: There are low quotas for API usage as I didn't buy any kind of subscription. These quotas may result in 429 errors in short period of time.
> Bear in mind, that page reloads and moves from one page to another will cause API calls.
> My personal API token is already hardcoded in constants for your convenience. Do not hesitate to use it, because even if you run out of quotas, no additional charges will be applied to me as it is free subscription.I've aimed for ~4-6 hours timefrime. Due to this limitation the following is NOT done:
– Mobile/responsive UI support
– Proper error handling and retries
– Any kind of performance optimizations, like lazy loading, caching, etc.
– e2e-tests with Playwright/Cypress, etc.