https://github.com/flight/thalex-assignment
https://github.com/flight/thalex-assignment
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/flight/thalex-assignment
- Owner: Flight
- Created: 2022-02-12T14:44:09.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-13T23:16:28.000Z (over 4 years ago)
- Last Synced: 2025-01-21T06:08:32.549Z (over 1 year ago)
- Language: TypeScript
- Size: 441 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Thalex Front-End Developer Technical Assignment Solution
**Framework:** ReactJS
**Unit-tests:** Jest + React Testing Library
**Integration tests:** Cypress
**Scss implementation:** Dart Sass
**Linters:** eslint with airbnb config, stylelint, prettier
## Available Scripts
### Backend
**Backend changes:** CORS headers added
### `cd mock_backend && yarn && nodemon .`
Runs the backend with CORS headers.
### Frontend
### `yarn`
Installs the frontend dependencies.
### `yarn start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.\
You will also see any lint errors in the console.
### `yarn test`
Launches the test runner in the interactive watch mode.\
### `yarn cy`
Launches the cypress tests runner. Please don't forget to launch the application before running the tests.
### `yarn lint`
Launches the eslint (typescript) linter.
### `yarn stylelint`
Launches the stylelint (scss) check.
### `yarn build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.