Skip to content

Commit 3cc9744

Browse files
author
RoxanaDev1
authored
Update README - Some spaces needed between the commands to make everything readable.
1 parent aa18f67 commit 3cc9744

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ Every project should have a set project structure. Project structure might seem
3232
Here is a general project structure, which I like using:
3333

3434
`mkdir src` - One folder where all the code we will write will be included in.
35+
3536
`cd src`
37+
3638
`mkdir server` - Folder for all the server code.
39+
3740
`mkdir client` - Folder for all the client/frontend code.
3841

3942
This is a general preference, and the reasoning behind it is that from looking at the structure we understand instantly more or less how the project works.
@@ -49,7 +52,9 @@ More info: https://www.npmjs.com/package/ts-node
4952
`npm install express @types/express` - Install express and types for express as we are running a typescript application. Notice the changes in package.json.
5053

5154
`cd src`
55+
5256
`cd server`
57+
5358
`touch server.ts`
5459

5560
### Building the server file:
@@ -96,4 +101,4 @@ ts-node : The term 'ts-node' is not recognized as the name of a cmdlet, function
96101
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
97102
At line:1 char:1
98103
+ ts-node src/server/server.ts
99-
```
104+
```

0 commit comments

Comments
 (0)