November 15, 2022

Steps for Beginners in NodeJs


 


If you are start to learn NodeJs then you have learn basic points. First you must understand the different between NodeJs and server side scripting languages like PHP, Paython and Ruby.


- Environment setup

- First 'hello world' application

- NPM package manager

- File system

- Web module

- Web controller

- Debugging

- Database connection


We will learn all in details on upcoming tutorial.


Enjoy!

May 26, 2022

How to securing access to of Swagger with HTTP Basic Auth? With example if TypeScript NestJS.



- First set up NestJS TypeScrip basic project.

- Install express-basic-auth module using this command: npm i express-basic-auth

- import module on main.ts file

- Full example of main.ts file:


// import auth module

import * as basicAuth from 'express-basic-auth';

// Add HTTP Basic Auth

app.use(

    basicAuth({

        challenge: true,

        users: {

            defineUserName: 'passwrd here',

        },

    }),

);


// Main Code

const options = new DocumentBuilder()

    .setTitle('First App')

    .setSchemes('https')

    .setDescription('Firsy App API documentation')

    .setVersion('1.0')

    .build()


const document = SwaggerModule.createDocument(app, options)

SwaggerModule.setup('docs', app, document, {

    customSiteTitle: 'First App documentation',

});


Enjoy! 

January 31, 2022

React 18 beta version available

 



React 18 is now in beta version. To know more about the release click here.

The main features of release are:

  1. We've started work on the React 18 release, which will be our next major version.
  2. We've created a Working Group to prepare the community for gradual adoption of new features in React 18.
  3. We've published a React 18 Alpha so that library authors can try it and provide feedback.

What new in React 18?

When it is new released, React 18 will include improvements like automatic batching, new API, and new streaming server renderer.


Enjoy!

February 7, 2021

Top 5 Blogs for Web Development 2020

 



We have many different learning topics: Like YouTube videos and books. Some people like both of that, but you want a true expert in web development we need to do it by learning from our predecessors lot of practice. For this, we need to know what to read and which blogs to follow. If we learn it right, then its very useful in our life.


1. CSS-Tricks

CSS Tricks Post Image


CSS-Tricks blog is useful for how to building websites, mostly discuss on front-end topics. They have many guest authors.

Visit Site


2. CodePen Blog



CodePen is a social development for front-end designers and developers. Build and deploy a website, show off your work, build test cases to learn and debug, and find inspiration.



3. Smashing Magazine



Smashing Magazine blog for learn about coding, design, UX, mobile development and CMS frameworks. Visit this blog for improve your front-end knowledge.



4. Envato Tuts+




Envato Tuts+ blog is free for read and learn. Also subscribe for get latest news and blog post.



5. Creative Bloq



Creative Bloq is supported by its audience. When you purchase through links on our site, we may earn an affiliate commission.


December 4, 2020

Some rules of defining HTML tags

rules of defining HTML

 


- In HTML you can define element of start tag, write content, and end tag


- Rule of HTML element is define everything between start tag and the end tag

<h1>Give Heading</h1>

<p>Write Paragraph</p>


The <html> element is the root element and it defines the whole HTML document.

It has a start tag <html> and an end tag </html>.

Then, inside the <html> element there is a <body> element:


<html>

<body>

<h1>Write Heading</h1>

<p>Write paragraph.</p>

</body>

</html>


* For more information and learn click here

The Future of Technology: Emerging Trends to Watch in 2025

Introduction As we navigate through 2025, the technological landscape continues to evolve at an unprecedented pace. Innovations that once se...