Introduction

In this blog we will learn to write standalone script which will be a generalized script to convert entire database to csv/xls files etc.

Standalone script is basically a script where you don’t need to run server. It is “stand alone” i.e it is capable of performing tasks without any other requirement.

This blog was initially published on https://www.gyaanibuddy.com/blog/django-standalone-script-to-take-database-backup/

Prerequisites

A django project with any database along with some models whose data you wish to take backup.

Basic template

This code is going to be the bare minimum skeleton of our script.


Introduction

As we are advancing in technology , we are using more and more devices and along with it comes the internet connectivity which has become inseparable. With this level of functionality comes many security issues. The termed coined for this is cyber crime.

In this report we will discuss major cyber security issues and challenges and also the solutions to protect ourselves from them.

This blog was initially published on https://www.gyaanibuddy.com/blog/a-survey-on-cyber-security-threats-and-challenges-in-modern-society/

Reference:

https://ieeexplore.ieee.org/document/8833829

What is cyber crime?

Cybercrime is criminal activity that either targets or uses a computer, a computer network or a networked device. Most, but not all, cybercrime is committed by cybercriminals or…


Photo by Caspar Camille Rubin on Unsplash

Introduction

This is second part of the blog. To follow along, visit my previous blog to set up AWS S3 — bucket policy,configuration etc.

This blog has two parts:

Part I — Learn how to setup aws s3 and manually use it.

Part II — Using node js programatically perform operations on S3.

What are we building?

In this blog we will see node js implementation to do the following:


Photo by Caspar Camille Rubin on Unsplash

Introduction

Most of the websites require hosting to host images,videos etc. One obvious way to do it is to store it in hard drive. That seems alright but what if size of this storage required exceeds to hard drive storage limit. We will need to scale it accordingly which is a bit tedious task. So here hosting service like AWS S3 comes into picture which can store huge amount of media files and can scale accordingly.

This blog was initially published on https://www.gyaanibuddy.com/blog/using-nodejs-s3-to-createdeletelist-buckets-and-upload-list-objects-part-1/

This blog has two parts:

Part I — Learn how to setup aws s3 and manually use it.


Introduction

I still remember as a beginner i always wanted to host my website. I was just obsessed with the thought of building a website and having a url which i can visit from anywhere. Lets see how to do it for free.

Prerequisites

What are we building

In this blog with minimum steps we will host node js website on heroku. Heroku docs are pretty good but i as a beginner found it difficult as it explains everything in detail providing unnecessary explanation which scared me away as a beginner. This blog is…


Introduction

In this blog we are going to use an amazing library django-import-export which can convert database to various formats like csv, xls, json, html, yaml, tsv, ods. It can do it the other way round too which means that it can convert a file to database and it does it very smarty. Read the blogtill the end and you will know why i said smartly!

Prerequisites

Django installed

What are we building?

In this blog we will go from very simple example covering char field,Foreign Key,Many to Many field and learn how to convert import and export data into csv.

Setup

2. Create a…


Photo by Christopher Gower on Unsplash

Introduction

As a beginner i always used to wonder how image data is stored. Is it like a folder containing thousands and thousands of images or is it stored as string in database.

Well the answer is image file is stored on some cloud storage service like cloudinary or AWS S3 and the image’s url is stored in database.

In this blog we will see rather than storing image on a folder locally, how can we save image on cloud storage service (cloudinary) and use image’s url.

We will use cloudinary because it requires minimum setup and is easy to use.


Photo by James Harrison on Unsplash

Introduction

Whenever you make a website like social media app or blog app , you will most probably have feature where you will allow user to upload images. That’s what we will build here — minimal file upload server.

This article is also published on gyaanibuddy.

What are we building?

We are going to build a simple application using node.js which is capable of uploading sinlge/multiple images to server.

There are various ways by which we can upload image to server using node.js. One of the easiest and common ways to do it is by using multer library.

Multer is a node.js middleware for handling…

Rugved Bongale

Full stack developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store