N1_init

Description

🇫🇷 - Peut être utilisé pour créer une nouvelle API Node.js (sert de base minimum)

🇬🇧 - Can be used to create a new Node.js API (minimum underlying base)

Installation

🇫🇷 - Clonez le paquet avec git

NB : ne pas oublier le point après la commande

🇬🇧 - Clone the package with git

NB : do not forget the dot after the command

git clone https://github.com/t-leclercq/N1_init.git .

Usage 👨‍💻

🇫🇷 - Cette commande démarrera le serveur Node.js en local (sur le port 3000)

🇬🇧 - This command will start the Node.js server locally (on port 3000)

nodemon

Npm Packages 📦

  • bcrypt
  • body-parser
  • express
  • jsonwebtoken
  • mongoose
  • mongoose-unique-validator
  • multer
  • nodemon

Tips 👨‍🏫

🇫🇷 - Pour changer le port 3000 par celui de votre choix, changez la ligne suivante en y insérant celui que vous souhaitez

🇬🇧 - To change port 3000 with one of your choice, change the following line with the one you will

📃 index.js (ligne 15 / line 15)

const port = normalizePort(process.env.PORT || '3000');

Wanna chat ?

Chat on Telegram