Seeding test data in TypeORM
We've created database entities so far that TypeORM can use to build SQL tables. Let's start by adding some data to the database. This could be done manually, but it would be tiresome; we need to adequately automate it so that we can have it up and running right away.
25 Sep 2022
Read articleSetup TypeORM
In the preceding guides, we covered the basics of implementing a backend application using Node.js and GraphQL. In addition, we detailed the steps necessary to set up Express.js with TypeScript and GraphQL. Mocking allowed us to get Apollo Server up and running as a GraphQL server before implementing the resolvers that are meant to perform the actual work of retrieving and inserting data.
25 Sep 2022
Read articleTypeORM Entity & Column decorators
We'll develop entities in this tutorial to represent our community database. We'll see how to use the Entity and Column decorators of TypeORM to decorate classes that map to SQL tables.
25 Sep 2022
Read articleSetup TypeORM
In the preceding guides, we covered the basics of implementing a backend application using Node.js and GraphQL. In addition, we detailed the steps necessary to set up Express.js with TypeScript and GraphQL. Mocking allowed us to get Apollo Server up and running as a GraphQL server before implementing the resolvers that are meant to perform the actual work of retrieving and inserting data.
25 Sep 2022
Read articleCreate PostgreSQL database & user
In the preceding guides, we covered the basics of implementing a backend application using Node.js and GraphQL. In addition, we detailed the steps necessary to set up Express.js with TypeScript and GraphQL. Mocking allowed us to get Apollo Server up and running as a GraphQL server before implementing the resolvers that are meant to perform the actual work of retrieving and inserting data.
25 Sep 2022
Read articleAngular 14 Apollo Client Setup
In a previous tutorial, we've developed the GraphQL API on top of Apollo server, we'll see now how it can be integrated with an Angular frontend.
24 Sep 2022
Read articleAngular 14 Apollo Client Setup
In a previous tutorial, we've developed the GraphQL API on top of Apollo server, we'll see now how it can be integrated with an Angular frontend.
24 Sep 2022
Read articleDebugging Angular applications
By default, Angular operates in development mode, which has debugging enabled. To switch to production mode, which also stops debugging and excludes any debugging information from the final production bundles...
24 Sep 2022
Read articleConfiguring CORS with Express.js
The term cross-origin resource sharing or CORS is used to describe a process by which we can permit or forbid requests from other domains for otherwise protected resources on a web page that are being provided from a given domain.
21 Sep 2022
Read articleAngular 15Service for communicating with Contentful CMS
In this tutorial, let's now create the service that will encapsulate the code for communicating with Contentful.
19 Sep 2022
Read articleMocking GraphQL with Apollo Server
Thanks to mocking, UI development can begin before the backend is fully functional. The UI can be tested without having to wait for lengthy database operations or maintaining a full-fledged GraphQL server.
17 Sep 2022
Read articleGraphQL APIs with Apollo Server & Apollo Studio [Part 2]
With our Apollo Server now up and running, we can shift our focus to creating the GraphQL schema for the community app. Users, friends, posts, comments, likes, and notifications are what we'll be focusing on.
17 Sep 2022
Read articleGraphQL APIs with Apollo Server & Apollo Studio
As an open source GraphQL server, Apollo Server is community-maintained and will be the basis for our GraphQL API development in this article.
16 Sep 2022
Read articleWatch and compile TypeScript code to JavaScript
Now, with ts-node, we don't need to compile TypeScript before running it. While this is ideal for development, it will require us to restart the script every time we make a change.
15 Sep 2022
Read articleSetup TypeScript with Node.js & Express.js
In this article, we'll proceed to the next step , which is setting up the necessary requisites, typescript and ts-node with Node.js and Express.js, for development
15 Sep 2022
Read articleSetup the server with Node.js/Express.js/Apollo
In the previous articles, we installed Node.js and PostgreSQL on our development machine. In this article, we'll begin by developing the API that the frontend app will consume.
14 Sep 2022
Read articleStoring data with PostgreSQL and TypeORM
A PostgreSQL database will be used to store the information. While a local PostgreSQL server will be used during development, a cloud-hosted relational database such as Amazon Relational Database Service (Amazon RDS) or another service of your choosing can be used during production.
14 Sep 2022
Read articleUsing GraphQL and Apollo for front- and back-end integration
We know what Node is and that our backend server will be run by Express.js, we need to know what GraphQL is and how it fits into this stack.
14 Sep 2022
Read articleHow to Use Node.js to Run JavaScript on Servers
Node.js is an open source software platform and runtime environment that makes use of an event-driven, non-blocking input/output (I/O) architecture to enable users to run JavaScript on your server. In 2009, Ryan Dahl developed Node.js on based on Google Chrome's JavaScript Engine (V8 Engine).
14 Sep 2022
Read articleModern full-stack single-page apps' architecture
Node.js is an open source software platform and runtime environment that makes use of an event-driven, non-blocking input/output (I/O) architecture to enable users to run JavaScript on your server. In 2009, Ryan Dahl developed Node.js on based on Google Chrome's JavaScript Engine (V8 Engine).
13 Sep 2022
Read articleRunning Node.js in web browsers
Node.js remains a key expertise for front-end developers due to the vast ecosystem of Node-based tools and applications that are required for modern front-end web development.
22 Apr 2022
Read articleRead JSON Files In NodeJS With require() and fs.readFileSync()
How to read JSON files with NodeJS require() and fs.readFileSync()
01 Sep 2020
Read articleJavaScript/Node Top-lavel Await Example
Before the new top-level await, you can only await for a piece of code inside a (arrow) function that's defined with the async keyword
30 Mar 2020
Read articleInstalling Node.js v10/12 & NPM on Ubuntu 20.04/19.04
This post shows you how you can install Node.js on Ubuntu 19.01 and Ubuntu 20.04 for Angular 9 development
02 Mar 2020
Read articleNode.js & Schema-First GraphQL Tutorial: Build your first CRUD API
Throughout this tutorial, we'll teach you how to create your first CRUD web API with GraphQL and Node.js
28 Aug 2019
Read articleJavaScript ES6 & Node Spread Operator Syntax
In this post, you will learn about the JavaScript Spread syntax or operator.
11 Jun 2019
Read articleJavaScript ES6 Three Dots Syntax (...): Spread vs. Rest Operators
In this post, you will learn the difference between the Spread and the Rest operators in JavaScript.
11 Jun 2019
Read articleHow to Create and Publish Node.js Modules to NPM
In this tutorial we are going to learn the essential concepts about npm or the nodejs package manager
01 Apr 2019
Read articleNode.js & MySQL CRUD — Database Connection & SQL Queries
In this tutorial, we'll see how you can use MySQL in Node.js by creating a connection and executing SQL queries for performing CRUD operations.
14 Mar 2019
Read articleNode.js SQLite Tutorial — Connection & CRUD
In this tutorial, you'll learn to use SQLite in Node.js. We'll be using the node-sqlite3 driver for Node.js
18 Dec 2018
Read articleNode.js Oracle CRUD Example: Database Connection & SQL Queries
In this quick tutorial, you'll learn how to make connection to an Oracle database in your Node.js application using node-oracledb
18 Dec 2018
Read articleNode Express JWT Authentication — jsonwebtoken and bcryptjs
Throughout this tutorial, we'll be learning how you can create a JWT authentication server with Node.js and Express.js using some popular libraries like jsonwebtoken, bcryptjs and SQLite
08 Dec 2018
Read articleLearn Sails.js Tutorial [2018]
In this tutorial you'll learn about Sails.js, a popular Node.js framework for developing server side applications similar to popular frameworks like Ruby on Rails and Django and inspired by Rails.
18 Nov 2018
Read articleUsing Electron with Flask and python-shell
In this tutorial, you'll learn to build GUIs for your Flask applications using Electron and web technologies i.e HTML, CSS and JavaScript
28 Aug 2018
Read articleUsing Python with Electron Tutorial
In this tutorial, you'll learn to build GUIs for your Python applications using Electron and web technologies i.e HTML, CSS and JavaScript
27 Aug 2018
Read articleNode Express.js, Vue.js & Mongoose|MongoDB Tutorial — CRUD By Example
Throughout this Vue.js with Node.js and Express tutorial we'll learn by example how to create a full-stack CRUD (Create, Read, Update and Delete) application.
09 Jul 2018
Read articleHandling CORS in Express 4
So in this tutorial you'll learn how to enable CORS in your Express 4 server to enable your front-end application to bypass the Same Origin Policy enforced by modern web browsers.
21 Jan 2018
Read articleBuilding a Fake and JWT Protected REST API with json-server
In this tutorial we'll see how to create a fake REST API with json-server, how to generate fake data with faker.js and how to add JWT authentication with jsonwebtoken
15 Jan 2018
Read articleHow to build a messenger bot with JavaScript and Node.js
In this tutorial we are going to learn how to build a Facebook messenger bot with Node.js
03 Mar 2017
Read article