You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Please copy-paste the brief user story or bug description that this PR is intended to address. -->
13
10
14
11
### What Does This PR Do?
15
-
16
12
<!--
17
13
Add detailed description & discussion of changes here.
18
-
The contents of this section should be used as your commit message (unless you merge the PR via a merge commit, of course).
19
-
20
-
Please follow standard Git commit message guidelines:
21
-
* First line should be a capitalized, short (50 chars or less) summary.
22
-
* The rest of the message should be in standard Markdown format, wrapped to 72 characters.
23
-
* Describe your changes in imperative mood, e.g. "make xyzzy do frotz" instead of "[This patch] makes xyzzy do frotz" or "[I] changed xyzzy to do frotz", as if you are giving orders to the codebase to change its behavior.
24
-
* List all relevant Jira issue keys, one per line at the end of the message, per: <https://confluence.atlassian.com/jirasoftwarecloud/processing-issues-with-smart-commits-788960027.html>.
Add some items to the following list, or remove the entire section if it doesn't apply for some reason.
33
-
34
18
Common items include:
35
19
* Is this likely to address the goals expressed in the user story?
36
20
* Are any additional documentation updates needed?
@@ -40,6 +24,11 @@ Common items include:
40
24
* Can you find any bugs if you run the code locally and test it manually?
41
25
-->
42
26
43
-
If you're reviewing this PR, please check these things, in particular:
27
+
If you're reviewing this PR, please check for these things in particular:
28
+
<!-- Add some items here -->
29
+
30
+
### Validation
44
31
45
-
- TODO
32
+
<!--
33
+
Have you fully verified and tested these changes? Is the acceptance criteria met? Please provide reproducible testing instructions, code snippets, or screenshots as applicable.
Make sure to replace the client_id and client_secret variables within the config file with
31
33
the ones you were provided, for your application, when you created your Blue Button Sandbox account,
32
34
the supported environments are SANDBOX or PRODUCTION.
33
35
36
+
```
34
37
docker-compose up -d
38
+
```
35
39
36
40
This single command will create the docker container with all the necessary packages, configuration, and code to
37
41
run both the front and back ends of this sample application.
38
42
43
+
To run the front-end (client component listening on port 3000) in preview mode, set environment variable BB2_APP_LAUNCH=preview when launch docker-compose:
44
+
45
+
```
46
+
BB2_APP_LAUNCH=preview docker-compose up -d
47
+
```
48
+
39
49
To see the application in action open your browser and enter the following URL:
40
50
41
51
http://localhost:3000
@@ -64,7 +74,7 @@ Please review our SDK documentation for more information and additional features
64
74
65
75
Debugging server component
66
76
--------------------------
67
-
debugpy remote debugging enabled on port 5678 for server in docker compose, developer can attach to server from IDE e.g. vscode.
77
+
debugpy remote debugging enabled on port 10678 for server in docker compose, developer can attach to server from IDE e.g. vscode.
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
3
+
This project was created with build tool [Vite](https://v2.vitejs.dev/).
4
+
Vite (French word for "quick", pronounced /vit/, like "veet") is a build tool that aims to provide a faster and leaner development experience for modern web projects.
4
5
5
6
## Available Scripts
6
7
@@ -14,11 +15,6 @@ Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
14
15
The page will reload if you make edits.\
15
16
You will also see any lint errors in the console.
16
17
17
-
### `yarn test`
18
-
19
-
Launches the test runner in the interactive watch mode.\
20
-
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
21
-
22
18
### `yarn build`
23
19
24
20
Builds the app for production to the `build` folder.\
@@ -27,20 +23,20 @@ It correctly bundles React in production mode and optimizes the build for the be
27
23
The build is minified and the filenames include the hashes.\
28
24
Your app is ready to be deployed!
29
25
30
-
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
26
+
### `yarn preview`
31
27
32
-
### `yarn eject`
28
+
Locally preview the production build. Do not use this as a production server as it's not designed for it.
33
29
34
-
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
30
+
## Learn More
35
31
36
-
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
32
+
You can learn more in the [Vite documentation: Getting Started](https://v2.vitejs.dev/guide/).
37
33
38
-
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
34
+
To learn React, check out the [React documentation](https://reactjs.org/).
39
35
40
-
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
36
+
### `yarn test`
41
37
42
-
## Learn More
38
+
Run vitest based test (need spinning up the app to pass the tests)
43
39
44
-
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
40
+
### `yarn coverage`
45
41
46
-
To learn React, check out the [React documentation](https://reactjs.org/).
42
+
Run vitest based test with coverage (need spinning up the app to pass the tests)
0 commit comments