add readme

This commit is contained in:
SowinskiBraeden committed 2025-03-18 22:49:57 -07:00
1 parent aff3c348c4
commit 56e68d5adf
1 file changed
+36
+36
View File
@@ -0,0 +1,36 @@
# setup your project
1. Create NPM project, hit enter till done
```bash
npm init
```
2. Install express
```bash
npm install express
```
3. Install nodemon (optional)
```
npm install --save-dev nodemon
```
4. Edit package.json
In `"scripts"` create an entry for the main program and nodemon
```json
"start": "node index.js",
"dev": "nodemon index.js"
```
replace index.js with the name of your express server file.
Run with either
```
npm start
```
or for nodemon.
```
npm run dev
```