count the number of visits to a website using Express.js, MongoDB -part 1

our package.json file
install express-generator
your App skeleton
terminal, after you type mongod, indicates that MongoDB server is up and running
visits.js
create a new collection
visitsUp.js
routes/index.js
app.js
app.js
index.ejs
http://localhost:3000/

--

--

--

Full Stack Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

An introduction to the MediaRecorder API

React: Functional Component vs Class Component

Custom nested and validated forms with react

“this” Object in ES5 vs ES6

some important things you must know as a web developer.

Basic things you must know as a web developer

Encora week 8 — Build something from scratch phase last week

JavaScript Asynchrony and async/await in Selenium WebDriver Tests

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ahmad Ali

Ahmad Ali

Full Stack Developer

More from Medium

Introduction to NodeJS

S.O.L.I.D Principles with JS examples