from github to this gitea

This commit is contained in:
oscar.plaisant@icloud.com
2023-10-23 23:09:51 +02:00
commit a2ee0fa5ca
2898 changed files with 307871 additions and 0 deletions

37
express JS.md Normal file
View File

@@ -0,0 +1,37 @@
up:: [[Node JS]]
#informatique/javascript
> [!smallquery]+ Sous-notes de `$= dv.el("span", "[[" + dv.current().file.name + "]]")`
> ```breadcrumbs
> title: false
> type: tree
> dir: down
> ```
# Installation
```sh
npm init # initalisation d'un nouveau projet
npm install express -save # ajout du packet express JS
```
Dans `package.json` ajouter :
```sh
"start": "node ./src/fichiersource.js"
```
```sh
npm start
```
# Arborescence
- index.js
- node_modules
- package-lock.json
- package.json (référence des )
- public
- src
- controllers
- models
- routes
- README.md