Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cloud-design-patterns-journey/inv-ui-team3
https://github.com/cloud-design-patterns-journey/inv-ui-team3
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cloud-design-patterns-journey/inv-ui-team3
- Owner: cloud-design-patterns-journey
- License: apache-2.0
- Created: 2024-04-29T10:01:42.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-29T10:17:53.000Z (7 months ago)
- Last Synced: 2024-04-29T11:25:02.818Z (7 months ago)
- Language: JavaScript
- Size: 860 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Carbon React with Node.js
React is a popular framework for creating user interfaces in modular components. In this sample application, you will create a web application using Express and React to serve web pages in Node.js, complete with standard best practices, including a health check and application metric monitoring.
This app contains an opinionated set of components for modern web development, including:
* [React](https://facebook.github.io/react/)
* [Sass](http://sass-lang.com/)
* [Carbon](https://www.carbondesignsystem.com/)
* [Create React App](https://github.com/facebook/create-react-app)#### Native Application Development
Install the latest [Node.js](https://nodejs.org/en/download/) 6+ LTS version.
Once the Node toolchain has been installed, you can download the project dependencies with:
```bash
npm install -g yarn
yarn install
```##### Local development
To run application for local development and get live updates on code changes:
```sh
yarn start:dev
```##### Test
To run unit tests:
```sh
yarn test
```To run load test with k6:
```sh
# Ramp Virtual Users from 0 to 100 over 10s, stay there for 60s, then 10s down to 0
k6 run script.js -u 0 -s 10s:100 -s 60s:100 -s 10s:0
```##### Run production build
To try a production build, run:
```sh
yarn build
yarn start
```