Showing posts with label tools. Show all posts
Showing posts with label tools. Show all posts

Thursday, August 26, 2021

Express



In this tutorial, we will also have a look at the express framework. This framework is built in such a way that it acts as a minimal and flexible Node.js web application framework, providing a robust set of features for building single and multipage, and hybrid web application.
What is Express.js?

Express.js is a Node js web application server framework, which is specifically designed for building single-page, multi-page, and hybrid web applications.

It has become the standard server framework for node.js. Express is the backend part of something known as the MEAN stack.

The MEAN is a free and open-source JavaScript software stack for building dynamic web sites and web applications which has the following components;

1) MongoDB - The standard NoSQL database

2) Express.js - The default web applications framework

3) Angular.js - The JavaScript MVC framework used for web applications

4) Node.js - Framework used for scalable server-side and networking applications.

The Express.js framework makes it very easy to develop an application which can be used to handle multiple types of requests like the GET, PUT, and POST and DELETE requests. Installing and using ExpressExpress gets installed via the Node Package manager. This can be done by executing the following line in the command line


npm install express

The above command requests the Node package manager to download the required express modules and install them accordingly.
  • npm install express --save
Let's use the newly installed Express framework and create a simple "Hello World" application.

create a simple server module which will listen on port no 3000. In this example, if a request is made through the browser on this port no, then server application will send a 'Hello' World' response to the client.

Node.js Express FrameWork Tutorial - Learn in 10 Minutes
var express=require('express');
var app=express();
app.get('/',function(req,res)
{
res.send('Hello World!');
});
var server=app.listen(3000,function() {}); 


Code Explanation:
In our first line of code, we are using the require function to include the "express module."

Before we can start using the express module, we need to make an object of the express module.

Here we are creating a callback function. This function will be called whenever anybody browses to the root of our web application which is http://localhost:3000. The callback function will be used to send the string 'Hello World' to the web page.
In the callback function, we are sending the string "Hello World" back to the client. The 'res' parameter is used to send content back to the web page. This 'res' parameter is something that is provided by the 'request' module to enable one to send content back to the web page.

We are then using the listen to function to make our server application listen to client requests on port no 8000. You can specify any available port over here.

Output:
Node.js Express FrameWork Tutorial - Learn in 10 Minutes


modules which installed with express

  • npm install body-parser -save
  • npm install cookie-parser -save
  • npm install multer --save


Friday, May 24, 2019

Atom

Atom is a text editor software 

Atom is a free and open-source

Programming lanqage support
  • C
  • C++
  • C#
  • COBOL
  • CSS
  • GitHub Flavored Markdown
  • Go
  • HTML
  • Java
  • JavaScript
  • Objective-C
  • Perl
  • PHP
  • Property lists
  • Python
How to install Atom by termnal
Step 1 : Add repository:
sudo add-apt-repository ppa:webupd8team/atom


Step 2 : Update the Repository
sudo apt-get update


Step 3 : Install Atom.
sudo apt-get install atom


Thursday, May 9, 2019

Terminal commands

  Terminal command



Terminal is used to command to do a work. There are two types of interface is used
  1. GUI - Graphical user interface
  2. CLI - Command line interface
GUI is user friendly.GUI interface between user and pc by icons.
command line is full of coding without icons or mouse.
1st generation computers are like command line interface system.

Some of the Linux Terminal commands that used  mainly in systems 

ls         when type this command you will get all of the content list in your pc or al the list which  point you are in.

cd         (change directly)     this function  help to open a file folder or a path    
    
mkdir   (make a directory)   This command creates new folder to the location
      
rmdir  (remove diectory )  this command used remove a file folder from pc

pwd          command display the full path 

tree      This key shows the directory what you have.

cd ..        This command ride you back way of your path.

mv         This function is used for two purpose first is moving folders or file and then  Rename the files.

rm            This command directly remove file/ folders

cp            This may help to copy the file and folders

echo      This command  add characters in your text file or html files.
cat           This function helps to display what you have on your text files.

passwd      If you want change your  password you can do by this command

touch        By using this function we can add text file or html file 

locate          If you know a file name then you can get the path of the file by using this

There are some more function for the knowledge

  • htop            - to monitor the machine activity
  • df                - to get the disk space
  • du               - documents memory status
  • hostname    - you pc name
  • uname         - to change your pc name
  • ping             - to check your connection to a server

Wednesday, May 8, 2019

Trello

Trello

 

 Trello is a collaboration tool that organizes your projects into boards.
this  is a web based list-making application originally made by fog greek software in 2011.
trello interfear with much things to help people to organized their activities. Such as estate management, software project management, school bulletin boards, lesson planning, accounting, web design, gaming and law office case management and etc

trello's job is organized the list and keep your project management.
 one of the benifits its contain many reviews and expert arguments so we can gather knowledege from it.

Tuesday, May 7, 2019

Google Classroom

Google classroom


Nower days is this mostly used by our teachers in classes ... in a minute , every students  can get the whole notes by joining their rooms .
Easy to explain
Its an room put notes ,exams through the google so  called google classroom.As a free online learning platform, Google Classroom offers several benefits for students and teachers.

Google class room can be accessed to upload and download any computer or any devices via Google chrome . Which are stored in google classroom on drive.

Touch Typing

Touch Typing

Touch is make you familiar with keyboard and increasing your typing speed. 

Definition of the touch typing
Touch typing is a method of typing without using the sense of sight, or simply by feeling the keyboard.

According to this picture:
Shows home row keys .left hand home row keys are (ASDF ) and ( JKL
;) are the right hand .

What is the home row keys

When start the touch typing using a standard keyboard with the hand placed starting position ,called home row key.Its very tuff to typing in this proper way.
Each fingers has assigned letters on keyboard. 
 That are in under the picture

 










In a software company you will be able to know this touch typing and its must for each software students because it will save your valuable time .

thank you guys don't forget to leave your comments.

SLACK


Introduction

what is the slack? is a software make by the complecated codings.
mainly slack use for the official usage like communicate with their coworkers  in business topics or something else.Slack is also like the social media like whatsapp ,viber.

How to start the Slack  if you get an invited link from your team admin or owner
 or easily you can get it  from google chrome or app store or playstore.

we can use this to communicate with each other in  groups ,private chats too.But its usually used for official discussions. we can attach files ,emojies.   Files, peoples, conversation  all contents are searchable in slack.

link :
 Click here to download slack


founder of slack :- stewart butterfeild


Express

In this tutorial, we will also have a look at the express framework. This framework is built in such a way that it acts as a minimal an...