Posts

Final Work On Internship Time period (Activity Logger)

Image
               I   , the developer of the Project “Activity Logger – Web Application”, with immense pleasure and commitment would like to present the internship project assignment. The development of this project has given me wide opportunity to think, implement and interact with various aspects of management skills as well as the new emergingtechnologies.                                 Every work that one completes successfully stands on the constant encouragement, good will and support of the people around. I hereby avail this opportunity to express my gratitude to number of people who extended their valuable time, full support and cooperation in developing the project.               Industrial training is an important phase of a student li...

11. Overview of Project Deployment Using Heroku

Image
                 For the this week we will set environment variables whole project. The process core module of Node.js provides the env property which hosts all the environment variables that were set at the moment the process was started.          Then deployment of our project, Deployment like Represents the software you are deploying (such as a web application), the releases of the software deployed and the environments that they will be deployed to throughout the lifecycle.      We uploaded everything to git after completion of project. Then  finished all work of our internship project. Deploying to Production with Git Our first method is not only the most common, but also the simplest:  pushing code from a Git repository to a Heroku app . You simply add your Heroku app as a  remote  to an existing Git repository, then use git push to send your code t...

10. Debugging in Visual Studio Code

Image
             Debugging is a core feature of Visual Studio Code. In this tutorial, we will show you how to run and debug a program in VS Code. We'll take a tour of the  Run and Debug  view, explore some debugging features, and end by setting a breakpoint. The Visual Studio Code editor has built-in debugging support for the  Node.js   runtime and can debug JavaScript, TypeScript, and many other languages that are transpiled into JavaScript. Setting up a project for Node.js debugging is straightforward with VS Code providing appropriate launch configuration defaults and snippets. There are a few ways you can debug your Node.js programs in VS Code: Use  auto attach  to debug processes you run in VS Code's integrated terminal. Use the  JavaScript debug terminal , similar to using the integrated terminal. Use a  launch config  to start your program, or  attach to a process  launched outside of VS Co...

9. Activity Analysis

Image
  We create   analysis APIs like activity count weekly, activity count monthly, activity count dynamically. After activity APIs like create activity, read activity, read activity found id, update activity, delete activity.   And after creating all the APIs this week, whether those APIs work in the proper or not, We processed them and generated a all working activity’s log file.   We understand about JWT, JSON Web Token is an open standard for securely transferring data within parties using a JSON object. JWT is used for stateless authentication mechanisms for users and providers, this means maintaining session is on the client-side instead of storing sessions on the server.   And also understood that there is an error in our project or we used vs code debugger for it. And after creating all the activities and apis, we learned to set environment variables and it is necessary to guide them.         Right Now Complate Work   ...

8. PM2, the Node.js Process Manager

Image
  Uses for PM2 PM2 has a lot of uses, let’s look at a few: Restarting after crashes : PM2 allows us to keep processes running until the heat death of the universe, or a server failure, whichever happens first Monitoring and managing processes remotely : A magic-powered web portal allows you to keep an eye on remote processes and manage them It doesn’t just run Node apps : PM2 isn’t limited to just Node.js processes, that’s right, you can even use it to keep your Minecraft server online Restart-Persistance : PM2 can remember all your processes and restart them after a system restart And a whole lot more Getting started First thing we need to do is to install PM2 globally on your machine: $ npm i -g pm2 Copy Basic Commands Let’s get into the basics of how to use it. To start a process under PM2, all you have to do is run  pm2 start <app> . App being the name of the file you’re running. PM2 will output something like this: [ PM2 ] Starting C: \ Users \ moose \ app.js in ...

7. Project Formate

Image
  we created a structure of code in this project.         It is as follows: The structure of this project is divided into seven parts. ·       Controller ·       Helper ·       Logger ·       Repository ·       Src ·       Validators ·       Router and other parts.

6. How to setup a local MongoDB Connection

Image
  Installing MongoDB You need to install MongoDB on your computer before you can connect to it. You can install MongoDB by following these instructions ( Mac  and  Windows ). Once you have completed the installation process, try typing  mongo --version  into your command line. You should get a response similar to the following: mongo -- version Starting MongoDB You can start MongoDB on your computer with the  mongod  command. mongod Keep the  mongod  window running when you want to work with your local MongoDB. MongoDB stops when you close the window. Connect Activity Analysis User to MongoDB

5. Verify users by sending OTP .

Image
       Alongside that, by the mid of the week, we started working on the login/signup part. We started working on the verification part. We wanted to verify users by sending OTP in their mails . And users Delete own Account that time also Send OTP. Than we want to update user and forgot password user also adding.

4. Working on Auth & Type of Notification. Building Login API.

Image
                 By the end of the week, we started working on designing the first page of our project, i.e., Activity logger. Mr. Khunt inspected the project & suggested that we should search for APIs which give us data not only for current days but also for upcoming days.   First Create User And Now test On postman. we were working on Building Login API. We started fetching and Entering data from API &        replacing  them into the MongoDB. After approval of the work, we then started working on other API and Options of Login. Now If User not get Password,

3. Let's Work on Project (Activity Logger)

Image
          This project introduces a website using full stack development where backend technology was created using NodeJS, JavaScript API and to store information of subscribed use, MongoDB database. On running the project.             For the This time we were told to work on real time projects with a team, each team consisting of 3 to 5 people. We were given a choice for choosing the topic of our project. The options for the same were: i.        e-authorization ii.     Real-time Tracker iii. Weather Alerts iv.   Code Crashing Alerts v.    Activity logger We had to acknowledge Mr. Yagnik Khunt, Chief Technology Officer of the firm, the members of the group & the title of our project. Our group decided to work on Activity logger. After the acknowledgement provided, we had to list down our requirements/planning of our project. After approva...

2. How Stripe Builds APIs

Image
Postman’s New Warnings Pane for API Testing           Since Postman is committed to easing collaboration across stakeholders in the API development process, the  Postman API Platform  provides a bunch of tools—including workspaces, collections, API Builder, and the API Network—for all stakeholders to collaborate and develop APIs seamlessly.           Recently, we’ve seen initiatives by Postman users spanning organizations across the globe  shifting their security left . This means solving for security issues  before  they arise in the first place by making API producers aware of these risks at the earliest stage possible. Introducing the Warnings pane for collection requests Although Postman provides extensive  security warnings  for  OpenAPI  definitions, we understand that this provides limited value in identifying misses that are associated with the implementation of an API. With ...

1. Let's Strat Internship of NodeJS Proj

Image
                           For the first week of our internship, we were introduced to the company & the managers of the company.   Following a detailed orientation to the department's internship program, we received our first assignment. We were told to learn about Node.js, Express.js, API, Postman, NPM & regarding JSON data. We were also told to perform basic operations in Node.js.   We was more about knowing & learning, from scratch, Node.js & terms related to Node.js which would be helpful and can be used in one's project. 1. Use a Node.js Logging Library                Node.js developers tend to rely on the runtime's console methods (such as  console.log() ) to log events since it is built into the runtime, and offers a familiar API similar to the JavaScript console mechanism provided by web browsers.  ...