The lessons are provided one by one via the comments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#The instructions in this file will be used by docker to build an image | |
FROM node:16-alpine | |
RUN echo 'I am testing out working with dockerfile' | |
WORKDIR /app | |
COPY package*.json ./ | |
COPY . . | |
RUN npm install | |
EXPOSE 3800 | |
CMD ["node" , "dist/src/index.js"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When building applications using any programming language, we sometimes use codes provided by the programming community. | |
In Python, without an isolated environment newer version of a particular package will replace older ones and this will in turn | |
lead to breaking changes for the project that depends on the older package. | |
To handle this problem, Python provides us a tool(venv) to create an isolated environment for our project dependencies. | |
When we install a package, we do not want it to be installed on the global path for site packages; we want that package to be | |
isolated and constrained to the application that needs it. |
RabbitMQ is a message queueing system also know as a message broker. It is a queue that applications can connect in order to to transfer a message or messages or consume from it. RabbitMQ is a queuing system that is mostly used for building event driven systems. In this Gist, I will share some snippets of code and idea on how to go about MQ assuming you are just getting started.
- Understanding RabbitMQ
- Downloading and Installing RabbitMQ
- Understanding our project
- User Service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { createServer } = require("http"); | |
const fs = require("fs"); | |
const fsp = require("fs").promises; | |
let path = require("path"); | |
const { parse } = require("querystring"); | |
/* | |
The querystring module provides utilities for parsing and formatting url query strings | |
The parse method of the query string parses a URL query string into a collection of keys and value pairs. | |
For example , the query string 'name=adeleke&email=adenababanla@gmail.com' is parsed into |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** CSS SELECTORS | |
-------------------- | |
CSS selectors are the valid ways we can use in selecting elements | |
to apply style on to in our web page. | |
You can use the following as selectors : | |
1. Tag Name e.g p | |
2. ID name e.g #red-color | |
3. Class name e.g .red-color | |
4. Child selecto e .red-color > h3 | |
5. Sibling selector .red-color + .blue-color |
NewerOlder