To start you have to type this line to install dependencies
(Pour commencer tu dois écrire cette ligne de commande dans ton bash pour installer les dépendances)
npm i
Dependencies :
- express
Dev dependencies :
- @types/express
- typescript
- ts-node
- nodemon
You have to create your own .env.local
file based on .env.template
file
(Tu dois créer ton propre fichier .env.local
en prenant comme modèle le fichier .env.template
)
You don't have to do this, I already executed it while project initialization.
(Tu n'as pas à executer, c'est ce que j'ai fais pour initialiser le projet)
Initialization of package.json
file
npm init -y
Initialization of .git
hidden folder
git init
Initialization of .gitignore
file and add node_modules in it
echo node_modules >> .gitignore
Initialization of tsconfig.json
file
tsc --init
and comment this option "esModuleInterop": true
Installation of dependencies :
npm i express
Installation of dev dependencies :
npm i -D typescript @types/express ts-node nodemon