DEV Community

Janani Rs
Janani Rs

Posted on

Full Stack Development - Day 1

Tools & Platforms Installed

  • Vercel
  • Render
  • MongoDB Atlas
  • MongoDB compass

React + Node.js Setup
First, I installed Node.js and verified the installation using Command Prompt.

Then I created my React project using Vite.

After setup, my react app(in local host):

Creating My Node.js Server

I created a file named: server.js
Then I wrote a simple Node.js server and executed the code.

Calculator Project

I created a simple calculator using Node.js that performs:

  1. Addition
  2. Subtraction
  3. Multiplication
  4. Division

The output:

Express.js Introduction

I created a new folder: myapp

Inside the folder:
npm init
npm install express
After installation, the node_modules folder was automatically created. Then I created named "app.js" and executed that code.

Then I created: "app.js"

The output is:

MongoDB & MongoDB Atlas

MongoDB Atlas

  • Signed into MongoDB Atlas
  • Selected FREE tier
  • Created deployment

MongoDB Compass

  • Opened MongoDB Compass
  • Copied Atlas connection string
  • Replaced password in the connection URL
  • Connected successfully

After connection, I performed simple CRUD operations:

  1. Create
  2. Read
  3. Update
  4. Delete

Top comments (0)