Creating a Boilerplate Express.js project.

There is a a great article on this. This is from the official Microsoft website for vs code.

You can follow the link here. Essentially this article entails using VS Code, having Node.js installed, and the cool part running docker and containers. 🙂 Apparently if you do not have docker installed please reference to there website.

Moving along, the purpose of this article is to get started with express the quickest way.. and that is by creating boilerplate code on the fly with a few commands (again assuming you have node installed).

Step 1. Create a project folder.

Step 2. In cmd, terminal change directory into the newley created project folder.

Step 3. type the following command: npx express-generator

Step 4. type npm install

Step 5. type npm run start

Leave a Reply

Your email address will not be published. Required fields are marked *