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
At this point, the API should be up & running at `http://localhost:5000`, and we can test the interface using POSTMAN or `curl`.
18
+
18
19
<br />
19
20
20
-
> **Start the Flask API**
21
+
### **Start the React UI** (use another terminal)
22
+
23
+
> **Step 1** - Once the project is downloaded, change the directory to `react-ui`.
21
24
22
25
```bash
23
-
$ cd flask-api
24
-
$ docker-compose pull # download dependencies
25
-
$ docker-compose build # local set up
26
-
$ docker-compose up # start the app
26
+
$ cd react-ui
27
27
```
28
28
29
-
At this point, the API should be up & running at `http://localhost:5000`, and we can test the interface using POSTMAN or `curl`.
29
+
<br >
30
+
31
+
> **Step 2** - Install dependencies via NPM or yarn
32
+
33
+
```bash
34
+
$ npm i
35
+
// OR
36
+
$ yarn
37
+
```
30
38
31
39
<br />
32
40
33
-
> **Start the React UI**(use another terminal)
41
+
> **Step 3**- Start in development mode
34
42
35
43
```bash
36
-
$ cd react-ui
37
-
$ docker-compose pull # download dependencies
38
-
$ docker-compose build # local set up
39
-
$ docker-compose up # start the app
44
+
$ npm run start
45
+
// OR
46
+
$ yarn start
40
47
```
41
48
42
49
Once all the above commands are executed, the `React UI` should be visible in the browser. By default, the app redirects the guest users to authenticate.
@@ -67,7 +74,7 @@ The product is built using a `two-tier` pattern where the React frontend is deco
0 commit comments