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
1/ Ensure that all service backends are up and running. You can do this easily using Docker.
8
+
```sh
9
+
docker-compose up
7
10
```
8
-
npm install
9
-
npm run start
11
+
12
+
2/ Install node dependencies.
13
+
```sh
14
+
npm i
15
+
```
16
+
17
+
3/ Now you can run the API service
18
+
```sh
19
+
dotenv npm run start
20
+
```
21
+
22
+
4/ Open the local url:
23
+
```sh
24
+
http://localhost:3001/{username}/endpoints
25
+
```
26
+
27
+
#### Creating data
28
+
This step has not been automated yet, so you'll have to create the Mongo documents manually. If you're running `docker-compose` you can access to the Mongo Express web panel visiting `http://localhost:8081/`.
29
+
30
+
1/ Create a new database with the name: `endpoint`
31
+
32
+
2/ Create a collection named `endpoints`.
33
+
34
+
3/ Now you can add a new endpoint to get monitorized.
0 commit comments