To start it off this is Part 2 and first Part you can find bellow:

We will continue on where we started and here we actually get in the database relationship part and how CRUD operations will be operated.

Your Posts Page

Ones you have logged in then you will be able to create a new post, Edit and as well Delete your post here is how the functionality is structured.

Post

The member() route is created and it will cover creating new posts and as well listing your existing posts.

page = request.args.get(‘page’, 1, type=int)

The “page” is for the pagination and…


One to many relationship is something that you will have to grasp(same about many to many).I will use my own project as an example Blog app and a relational database PostgreSQL and for common real time implication Flask web framework(optimally you have knowledge of HTML/CSS some Flask experience) where a logged in user can make own post and do

Connecting to PosgreSQL and creating Models

We will start off with importing the corresponding packages, connecting to our Flask instance, connecting to our PosgreSQL database and creating Models that will connect to particular __tablename__ and creating specific variables.

The obvious starting faze we connect to our…


If you started on learning Vue.js and SPA sooner or later you will cross path with vue-router to deal with navigation that is unavoidable for a fully functional app.

In a few words: “Creating a SPA with Vue and Vue-Router is as simple as it can be.”

If you don’t have Vue installed on your computer, install Vue via terminal: npm install -g @vue/cli

Then create your app: vue create name-of-your-app

You will be prompted to pick a preset in this short project I choose Vue2 and vue-router dependencies as others are not relevant. For more info check here.


This article presents how to first and foremost setup your Google Drive API and then create a python script to download the file.

There are different kind of API Libraries provided in Google Cloud Platform.

But the one we are interested is Google Drive API.

Creating your project

To start it off you should start with creating a project in Google Developers Console.

https://accounts.google.com/o/oauth2/v2/auth

Then as follows:

Click on Enable APIS and Services


Summary

Python has many modules in its standard library.To look at directory files the most popular modules are os, and global, pathlib and maybe few others I am not aware about.

Fore and foremost everyone who programs on python will come across these modules.

IG_post_project

The os module provides easy functions that allow us to interact and get Operating System information. Sys module provides access to some variables used or maintained by the interpreter and to functions.

Note: the choose_option() function is based on other project that I published and is linked to this one.So …


I was an extensive Windows user as most of us are thereafter i got a Mac due to it being more modern and corporate and have put aside my MSI 16.4 inch laptop aside for a long time… After a year or so I got annoyed by MacOS UI same as i did with Windows.So i decided to install Pop!_OS a free Linux distribution system and i never went back.

Reasons to switch to Linux

Performance

Linux has a reputation for being fast and smooth while Windows 10 is known to become slow and slow over time.

There are many reasons for Linux being generally faster…


Codex

This project was very fun for me to write and I hope you the reader will get a lot out of it.

Web Scraping

Web scraping uses the technique to automatically access and extract large amounts of information from a website, which can save a huge amount of time and effort.In this example we will scrape https://www.politico.com/2020-election/results/president/

This is a great exercise for web scraping beginners who are looking to understand how to web scrape.

I started off with BeautifulSoup ( is used for smaller tasks and websites that have static HTML pages) but soon realized had to use Selenium because the…


The clock project is a standard project idea for beginner when it comes to JS.

In this article, I will assume you have basic knowledge of HTML, CSS and JavaScript — you know how to link a stylesheet to your HTML or apply the styles in a <style>tag — and you know how to import a JavaScript file into your page.

Getting started

To start it off lets create a nav bar layout for our HTML:

For styling properties check out the styles.css file in my GitHub below because have to keep the blog concise so will mainly cover the .html…


Introduction

Bootstrap is a free and open-source CSS framework directed at responsive, mobile-first front-end web development. It contains CSS- and JavaScript-based design templates for typography, forms, buttons, navigation, and other interface components.

Flask is a micro web framework written in Python. It is classified as a microframework because it does not require particular tools or libraries. It has no database abstraction layer, form validation, or any other components where pre-existing third-party libraries provide common functions.

MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas. MongoDB is developed by MongoDB Inc…

Richard Taujenis

Aspiring Python/JavaScript Developer | Business and Entrepreneurship enthusiast | Startup Club Event assistant

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