A step-by-step guide on how to configure an ExpressJS application with Winston and Morgan loggers using Typescript

Photo by Nubelson Fernandes on Unsplash

If you are starting or have already started an ExpressJS application, you may have wondered, how can I create a great and well-organized log system?

The problem is that a lot of applications don’t have a comprehensive log system, or even worse, they use simple console.log everywhere.

In this article, you’ll find out how to configure logs using Winston and Morgan.

TL;DR;

Here you can find the fully configured project (Use the branch calledcomplete )

I didn’t…


Originally published at https://nebulab.it.

In this article, we are going to show how you can create a NextJs project with Storybook and TailwindCSS.

Before starting, I want to explain who are the actors and why it should be better to add them to our frontend application.

NextJS

NextJS doesn’t need a lot of presentations. If you are here, you probably already know what NextJS is and why we should use it to build robust applications.

NextJS is a great React frontend framework, and it’s mainly used to build SEO-friendly applications since you can use three different types of rendering/pre-rendering methods:

  • SSG…


How to make the project clean over time

Photo by Sean Stratton on Unsplash

When a project is maintained by a team, the Team Lead has the responsibility to keep it clean and safe, avoiding breaking tests, different code styles, and other bad practices that will make your project badly organized and error-prone over time.

To accomplish this goal we can use two approaches:

  • Manually checks: merging to the main branch only the reviewed PRs (pull requests).
  • Automatic checks: using a CI (Continuous integration) service like GH actions, CircleCI, i.e.


Originally published at nebulab.it on September 20, 2019.

This is a step-by-step tutorial on how to build a Ruby on Rails application with VueJS using JSX. 100% headache-proof. Let’s get started!

Have you ever wondered how many ways there are to build a Ruby on Rails application with VueJS?

This is the first of three articles which explain step by step how you can build a Rails application with VueJS with some advice on which technique you should use based on your needs.

Why JSX?

JSX is an extension of JavaScript. It can be used with VueJS to build components avoiding to…

Andrea Vassallo

I’m a full-stack developer with 6 years of experience creating GraphQL/REST APIs, building React/Vue SPA, and managing great Rails e-commerce using Solidus.

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