DEV Community

Himanshupal0001
Himanshupal0001

Posted on

3 1

#1. Setting Up Environment ☀

We need below regular depnedencies

  1. express
  2. express-validator
  3. mongoose
  4. request
  5. bcryptjs
  6. jsonwebtoken
  7. gravatar
  8. congif

We also need below dev dependencies

  1. nodemon
  2. concurrently

Follow the steps below.

  • Create a folder in your system where you want to start project

  • Get into that folder click right-click open cmd/powershell type "code ." .(vscoode will be open)

  • Open terminal in vscode or (ctrl+~) follow the below to install regular dependencies.

  1. npm init -y
  2. npm i express express-validator mongoose request bcryptjs jsonwebtoken gravatar config

*Also install below dependencies as dev dependencies *
npm i -D nodemon concurrently

If you get any trouble to install dependencies try installing one by one

Creating cluster in mongodb atlas

  1. Create account in mongoDb atlas and login.

  2. Create project.

Image description

  1. Click on build database.

  2. Select free shared.

  3. Choose your local region country/continent for low latency.

  4. Name cluster name and save.

  5. Add user to the db.

  6. Set ip to 0.0.0.0/0

You can check videos below
youtube link

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Billboard image

Deploy and scale your apps on AWS and GCP with a world class developer experience

Coherence makes it easy to set up and maintain cloud infrastructure. Harness the extensibility, compliance and cost efficiency of the cloud.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay