nextgentips
nextgentips
Nextgentips.com
119 posts
Don't wanna be here? Send us removal request.
nextgentips · 2 years ago
Text
Advanced Caching with Redis
What is caching? Caching is a process of storing files in a temporary storage location for easy retrieval whenever the same data request is made in the future. Web browsers cache static files such as javascript, images in order to load websites faster, DNS cache DNS records for faster lookups, CDN cache content to reduce latency, APIs cached records for faster retrieval. How to implement…
Tumblr media
View On WordPress
0 notes
nextgentips · 2 years ago
Text
The Top Docker Commands you must know
What is Docker Docker is a set of platform-as-a-service products that uses OS-level virtualization to deliver software in packages called containers. Containers are usually isolated from one another and bundled with their own software libraries and configuration files, they can communicate with each other through well-defined channels. Benefits of Docker Docker makes it possible to get more…
Tumblr media
View On WordPress
0 notes
nextgentips · 2 years ago
Text
How to implement Celery with Django
How to implement Celery with Django
What is Celery? Perhaps you might be wondering like me what the heck is Celery? Let’s begin by first understanding what Celery is. Celery is an open-source asynchronous task queue that is based on distributed message passing. And what is a task queue? A task queue’s input is a unit of work called a task. They are used as a mechanism to distribute work across threads or machines. Celery…
Tumblr media
View On WordPress
0 notes
nextgentips · 3 years ago
Text
How to use PostgreSQL to perform CRUD operations in FastAPI
How to use PostgreSQL to perform CRUD operations in FastAPI
In the previous tutorial, we saw how to perform CRUD operations using dummy data inside your project, but that can’t help us in real-world issues. Today I will take you through using the PostgreSQL database to perform CRUD operations in FastAPI RESTful services. FastAPI really works well with both SQL and NoSQL databases, you can use SQL databases with the help of SQLAlchemy which is the Python…
View On WordPress
0 notes
nextgentips · 3 years ago
Text
How to perform CRUD functionalities in FastAPI
How to perform CRUD functionalities in FastAPI
In this tutorial we are going to learn how to perform Create, Read, Update and Delete operations in a FastAPI application. In our previous post, we saw how to install and create the first application using RESTful FastAPI. In this tutorial we will create an API to fetch your favorite songs from the database. We will be implementing the database using the MYSQL. Run CRUD operations To begin…
Tumblr media
View On WordPress
0 notes
nextgentips · 3 years ago
Text
How to install and use FastAPI
How to install and use FastAPI
FastAPI is a web framework for developing RESTful APIs in Python. It is based on pydantic and type hints to validate, serialize and deserialize data and automatically auto-generate OpenAPI documents. Features of FastAPI Fast Fast to code with Fewer bugs Intuitive has a code editor completion feature Easy to learn and use. Has minimized code duplication Robust, you get production-ready…
Tumblr media
View On WordPress
0 notes
nextgentips · 3 years ago
Text
How to write tests in Python
How to write tests in Python
Testing your code often is a good thing to do. Imagine running a big project without any tests, what could be the implications if you change a feature it affects the functionality of the overall app? Will that be a good thing to do? For many, it is not. Let’s see how we can perform and write tests right from the start. When starting out as a developer often write small unit tests to guarantee…
View On WordPress
0 notes
nextgentips · 3 years ago
Text
How to perform CRUD functionalities on Rails
How to perform CRUD functionalities on Rails
Rails CRUD processes is very easy to create, this makes it easy to work on something else. Compare to Django CRUD operation, I can say for Django you need to have sort of a hacking mentality to go through it, but for Rails its just one command and everything is created on a fly. Related Articles How to install Ruby on Manjaro Linux How to install Rails 7 on Manjaro Linux 1. Creating a Rails…
Tumblr media
View On WordPress
0 notes
nextgentips · 3 years ago
Text
How to install Tailwind CSS and Flowbite inside a Django Project
How to install Tailwind CSS and Flowbite inside a Django Project
Tailwind CSS is an open-source CSS framework. The difference between Bootstrap is that Tailwind does not provide predefined classes for elements such as tables or buttons. It makes it easier to write and maintain the code of your application. You don’t have to switch back and forth between CSS and your main HTML template. Flowbite enables us to build websites faster with components on top of…
View On WordPress
0 notes
nextgentips · 3 years ago
Text
How to install Anaconda in Manjaro Linux
How to install Anaconda in Manjaro Linux
Anaconda is a distribution of the python and R programming languages for scientific computing, that aims to simplify package management and deployment. Anaconda is a solution for data science and machine learning, it’s very versatile. The reason many love Anaconda is: Can deliver your data strategy easily It maximizes flexibility and control Products get to the market faster Install…
Tumblr media
View On WordPress
0 notes
nextgentips · 3 years ago
Text
How to Bootstrap a Django Application with Docker
How to Bootstrap a Django Application with Docker
In this tutorial, we will learn how to bootstrap a project to use Docker. I have loved to dockerize my application from the start because it gives me freedom from using a virtual environment. It saves you a lot if you are a DevOps person. You don’t have to install many dependencies every time for any programming language you are working on. Before you can start any project, we need to create the…
View On WordPress
0 notes
nextgentips · 3 years ago
Text
Useful getting started guide in Vue js
Useful getting started guide in Vue js
Vue js is a Javascript framework for building user interfaces. It builds on top of standard HTML, CSS, and Javascript, so it is better to know them before diving into Vue js. What you need to know Declarative rendering Declarative rendering is using the template syntax that extends the HTML. You describe how an HTML should look based on the Javascript state. For example. <script> export…
View On WordPress
0 notes
nextgentips · 3 years ago
Text
How to install Rails 7 on Manjaro Linux
How to install Rails 7 on Manjaro Linux
Rails is a web development framework written in Ruby programming language. It allows you to write less code but Rails is more of an opinionated language, so use it to accomplish whatever task you are trying to build. Rails believe in the principle of DRY, that is do not repeat yourself by all means Installing Rails Before installing Rails, you need to meet some prerequisites first, that is,…
View On WordPress
0 notes
nextgentips · 3 years ago
Text
How to install Ruby on Manjaro Linux
How to install Ruby on Manjaro Linux
Installing Ruby is a bit of a hustle simply because Ruby on Rails has many dependencies. It depends on Sqlite3, node, and yarn which sometimes becomes tiresome to start getting all the dependencies together. Ways of installing Ruby You can use package managers on Unix-like systems. This method always has outdated versions of Ruby which is something we don’t want. Building Ruby from the source…
View On WordPress
0 notes
nextgentips · 3 years ago
Text
How to create a Custom User in Django
How to create a Custom User in Django
This tutorial will teach how to create a custom user in Django. Django comes with good authentication, which uses a username and password, but sometimes one is unsatisfied with what Django offers. You might want to change the way users login into your system, such as using email and password, here you will have to create a custom user model to gather for your needs. Ways you can create a custom…
View On WordPress
0 notes
nextgentips · 3 years ago
Text
How to install and configure Coder on GCP
How to install and configure Coder on GCP
Coder is an open-source platform for creating and managing developer workspaces on your preferred cloud such as AWS, GCP, or Azure, and server environment. By building on top of common development interfaces and infrastructure tools such as Terraform, Coder aims to make the process of provisioning and accessing remote workspaces approachable for organizations. Coder workspaces are represented…
Tumblr media
View On WordPress
0 notes
nextgentips · 3 years ago
Text
How to Dockerize a Django Application
How to Dockerize a Django Application
In this tutorial, we are going to learn how to dockerize a Django application so that it will be in a position to run on any platform. Docker is a set of platform-as-a-service products that uses OS-level virtualization to deliver software in packages called containers. Docker containers allow an application to carry all its dependencies and to take the container anywhere you want it to run…
View On WordPress
0 notes