Select Page

Category: Web Development

Creating a Blogging App Using Angular & MongoDB: Add Post

In the previous part of the Angular blog tutorial series, you learnt how to create the ShowPostComponent to display the list of blog posts on the home page. You fetched the records that were inserted from the MongoDB shell using the created REST API endpoint. In this tutorial, you’ll be creating a new component called AddPostComponent to provide the user interface to add a new blog post to the MongoDB database. Getting Started Let’s get started by cloning the source code from the previous part of the tutorial series. git clone https://github.com/royagasthyan/ShowPost AddPost Navigate to the project directory and...

Read More

Code a Widget for Android: Input and Display

Since Android 1.5, application widgets have enabled users to get information, control apps, and perform crucial tasks, all from the comfort of their homescreens. In this two-part series, I’ll be showing you how to provide a better user experience by adding an application widget to your Android projects. By the end of the series, you’ll have created a widget that: Displays multiple sets of data. Performs a unique action when the user interacts with a specific View within that widget’s layout. Updates automatically whenever a set period of time has elapsed. Updates with new data in response to user...

Read More

Introduction to Mocking in Python

Mocking is a library for testing in Python. It allows you to replace parts of your system under test with mock objects and make assertions about how they have been used. This tutorial will discuss in detail what mocking is and how to use it in Python applications. What Is Mocking? Mocking is a library for testing in Python which allows you to replace parts of your system under test with mock objects and make assertions about how they have been used. In Python, mocking is accomplished by replacing parts of your system with mock objects using the unittest.mock...

Read More

Creating a Blogging App Using Angular & MongoDB: Show Post

In the last part of the tutorial series, you saw how to write the REST API endpoint for user login. You used Mongoose to interact with MongoDB from Node. After successful validation, you saw how to use Angular Router for navigating to the HomeComponent. In this part of the tutorial series, you’ll create a component to list the blog post details on the home page. Getting Started Let’s get started by cloning the source code from the last part of the tutorial series. git clone https://github.com/royagasthyan/AngularBlogApp-Home AngularBlogApp-Post Navigate to the project directory and install the required dependencies. cd AngularBlogApp-Post/client npm install...

Read More

Creating a Blogging App Using Angular & MongoDB: Home

In the first part of the tutorial series, you saw how to get started with creating an Angular web app. You learnt how to set up the application and created the Login component. In this part of the series, you’ll move further and write down the REST API required for interacting with the MongoDB bank end. You’ll also create the Home component which will be displayed after the user has logged in successfully. Getting Started Let’s get started by cloning the source code from the first part of the tutorial series. git clone https://github.com/royagasthyan/AngularBlogApp-Login AngularBlogApp-Home Navigate to the project...

Read More
000webhost logo