Skip to content

Commit 65399a0

Browse files
committed
Update README.md
1 parent 7114bc0 commit 65399a0

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

scraper-backend/README.md

+8-16
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Finally run `npm run dev` to run the service and listen to port `5001`.
4242
### `Visual Studio Code`
4343
* [Extension Typescript](https://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.typescript-474)
4444

45-
### `NodeJS` - [Link](https://nodejs.org/)
45+
### `NodeJS` ([Link](https://nodejs.org/))
4646
* [Package HTTP Server](https://www.npmjs.com/package/http-server)
4747
```bash
4848
# Check installation
@@ -52,7 +52,7 @@ node --version
5252
npm install --global http-server
5353
```
5454

55-
### `Yarn` - [Link](https://classic.yarnpkg.com/lang/en/docs/install/)
55+
### `Yarn` ([Link](https://classic.yarnpkg.com/lang/en/docs/install/))
5656
```bash
5757
# Global installation
5858
npm install --global yarn
@@ -61,7 +61,7 @@ npm install --global yarn
6161
yarn --version
6262
```
6363

64-
### `Nodemon and ts-node` - [Link](https://blog.logrocket.com/configuring-nodemon-with-typescript/)
64+
### `Nodemon and ts-node` ([Link](https://blog.logrocket.com/configuring-nodemon-with-typescript/))
6565
```bash
6666
# Global installation
6767
yarn global add nodemon ts-node
@@ -77,7 +77,7 @@ which nodemon
7777
export PATH="$(yarn global bin):$PATH"
7878
```
7979

80-
### `pino-pretty` - [Link](https://npm.io/package/pino-pretty)
80+
### `pino-pretty` ([Link](https://npm.io/package/pino-pretty))
8181
```bash
8282
# Global installation
8383
npm install -g pino-pretty
@@ -87,7 +87,7 @@ yarn add --dev pino-pretty
8787

8888
```
8989

90-
### `Jest` - [Link](https://jestjs.io/docs/getting-started)
90+
### `Jest` ([Link](https://jestjs.io/docs/getting-started))
9191
* and Package [ts-jest](https://www.npmjs.com/package/ts-jest)
9292

9393
```bash
@@ -105,20 +105,15 @@ npm i ts-jest
105105

106106
<br />
107107

108-
109-
110-
111108
<br />
112109

113110
# Run Tests
114111

115-
## Unit testing with Jest - [Link](https://jestjs.io/docs/getting-started)
116-
112+
## Unit testing with Jest ([Link](https://jestjs.io/docs/getting-started))
117113
1. Testing - [Testing TypeScript apps using Jest](https://blog.logrocket.com/testing-typescript-apps-using-jest/)
118-
2. Hotfixes - [Fix Problems](https://medium.com/@joenjenga/its-jest-common-problem-faced-using-jest-9905e96db8a)
114+
2. Hotfixes - [Common Issues](https://medium.com/@joenjenga/its-jest-common-problem-faced-using-jest-9905e96db8a)
119115

120-
121-
### Create Test Units
116+
## Create Test Units
122117
```bash
123118
# Locate Directory of scraper-backend\test-units
124119
cd %PROJECTPATH%\scraper-backend\__tests__
@@ -127,8 +122,6 @@ cd %PROJECTPATH%\scraper-backend\__tests__
127122
jest --testEnvironment=node --runInBand
128123
```
129124

130-
131-
132125
<br />
133126

134127
## Start NodeJS http server
@@ -141,7 +134,6 @@ http-server .
141134
```
142135
> Now, you can visit http://127.0.0.1:8080 or http://localhost:8080
143136
144-
145137
## Start scraper-backend Service
146138
```bash
147139
# Locate Directory of scraper-backend Service

0 commit comments

Comments
 (0)