-
Name: HTML CSS Support
Description: CSS Intellisense for HTML
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ecmel.vscode-html-css -
Name: Live Server
Description: Launch a development local Server with live reload feature for static & dynamic pages
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer -
Name: Live Sass Compiler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"scripts":{ | |
"lint": "eslint './src/**/*.{ts,tsx}'" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mongoose = require("mongoose"); | |
const Items = require("./models/Items"); | |
const Categories = require("./models/Categories "); | |
const { faker } = require("@faker-js/faker"); | |
// connect with mongodb | |
const uri = "add you mongodb uri here"; | |
const dbOptions = { | |
useNewUrlParser: true, | |
useUnifiedTopology: true, |