Skip to content

Commit f794c72

Browse files
committed
Update README
1 parent 3b284b8 commit f794c72

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

README.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,37 @@
1-
# Express Bootstrap
2-
3-
This project is a boilerplate for Node.js/Express applications. It also comes included with Jest, and Supertest for end-to-end testing.
1+
# JavaScript Basics in Express
42

53
## Getting started
64

75
Ensure your Visual Studio Code application is up to date, and that you have the [ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) installed and enabled.
86

9-
Replace `your-project-folder-name` with the folder name you wish to create for your project and run the below inside your `Projects` folder.
7+
Run the commands below inside your `Projects` folder.
108

119
```bash
12-
git clone [email protected]:MCRcodes/express-bootstrap.git your-project-folder-name
10+
git clone [email protected]:MCRcodes/javascript-basics-express.git
1311
cd your-project-folder-name
1412
npm install
1513
npm start
1614
```
1715

1816
Visit [http://localhost:3000/] in your browser and you should see `Hello world!`. You can dive in and start coding your own routes in `src/app.js`.
1917

18+
## Copy over your JavaScript Basics code
19+
20+
:important: **Important!**
21+
22+
This exercise makes use of your previous `javascript-basics` code. Copy the files from that project's `src/` folder into a new `lib/` directory in this repository's `src` directory. You should end up with the following file structure in this project:
23+
24+
```
25+
src
26+
├── app.js
27+
└── lib
28+
├── arrays.js
29+
├── booleans.js
30+
├── numbers.js
31+
├── objects.js
32+
└── strings.js
33+
```
34+
2035
## Running tests
2136

2237
You can run tests with the `npm test` command.

0 commit comments

Comments
 (0)