To Top

Our Blog

DEVX

Post with Featured Image

First Step to Laravel

Laravel actually uses a dependency manager tool called Composer to install all required libraries to run Laravel. So before we move forward make sure that composer is installed in your system.

Next step is to create a folder where we are going to create our new Laravel Project. After moving to that folder just run this composer command to create a new Laravel Project.(composer create-project --prefer-dist laravel/laravel my-first-laravel-project) Here, create-project is a composer command which is just downloading the package and installing all the dependencies further needed by this package and then we have this –prefer-dist which means just prefer the stable version releases if possible, next we mention name of package which is laravel/laravel and my-first-laravel-project is actually the name of project folder and you can replace it with any name that you want. This will start the installation of all dependencies as given in the image below.

Read more...

Deploy React & Nodejs App to AWS EC2 instances

Deploy a NodeJS React app to AWS EC2 instances with using NGINX and node npm environments. Inside EC2 instances setup ubuntu os 64-bit x86 and Deploy React and Nodejs Application for forever Run.

Read more...

Another Post with Imag

Laravel API With Sanctum

Laravel Sanctum provides a featherweight authentication system for SPAs (single page applications), mobile applications, and simple, token based APIs. Sanctum allows each user of your application to generate multiple API tokens for their account. These tokens may be granted abilities / scopes which specify which actions the tokens are allowed to perform.

You may install Laravel Sanctum via the Composer package manager., Next, you should publish the Sanctum configuration and migration files using the vendor:publish Artisan command. The sanctum configuration file will be placed in your application's config directory to go deeper click read more below

Read more...

VS Code Extensions you absolutely needed

The features that Visual Studio Code includes out-of-the-box are just the start. VS Code extensions let you add languages, debuggers, and tools to your installation to support your development workflow. VS Code's rich extensibility model lets extension authors plug directly into the VS Code UI and contribute functionality through the same APIs used by VS Code. This blog explains how to find, install, and manage VS Code extensions from the Visual Studio Code Marketplace.

You can browse and install extensions from within VS Code. Bring up the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of VS Code or the View: Extensions command (Ctrl+Shift+X). For more information click read more in the below

Read more...

Another Post with Imag

Laravel API With JWT Authentication

JWT is used for Authorization and information exchange between server and client. It authenticates the incoming request and provides an additional security layer to REST API, which is best for security purposes.

User information such as username and password is sent to the web-server using HTTP GET and POST requests. The web server identifies the user information and generates a JWT token and sends it back to the client. Client store that token into the session and also set it to the header. On the next HTTP call, that token is verified by the server, which returns the response to the client. For installation process press read more below

Read more...

Another Post with Imag

Python API with Flask

REST API stands for Restful API that allows integrating applications or interaction with RESTful web services. It is now growing as the most common method for connecting components in a microservice architecture. APIs will enable you to get or send data to a website and perform some action to get your task done over a web service. Each website uses different types of API, like stock market trading websites integrating with Sensex or Nifty to get a current price and ups-down. Ticket booking apps use a desired single portal API to keep updated data at a familiar interface.

Flask restful defines the resource class, which contains methods for each HTTP method. Method name should be the same as its corresponding HTTP method and written in lowercase. You can observe this in the above code. However, these methods do not have a route decorator, so they are based on resource routes. Whatever class we define, we define the route to it using add resource method and on which route we have to call it.

Read more...