This file contains hidden or 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
EXPRESS : | |
- Install express generator globally : | |
$ npm install -g express-generator | |
- Generate express app, with Pug as view engine : | |
$ express --view=pug --git | |
- Generate express app, with NO VIEW, basically from API development : | |
$ express --no-view --git |
This file contains hidden or 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
// Basic Types | |
let id: number = 5 | |
let company: string = 'Traversy Media' | |
let isPublished: boolean = true | |
let x: any = 'Hello' | |
let ids: number[] = [1, 2, 3, 4, 5] | |
let arr: any[] = [1, true, 'Hello'] | |
// Tuple |
This file contains hidden or 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
REACT SETUP | |
- Create React workspace using Create React App CLI | |
$ npx create-react-app my-app | |
- Create React workspace in current directory | |
$ npx create-react-app . | |
- Go into workspace directory | |
$ cd my-app |
This file contains hidden or 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
- Create GitHub accout and signin | |
- Start a project = Create a git repo | |
- Start Eclipse | |
Don't have Eclipse? Install here: https://www.eclipse.org/downloads/ | |
- On Eclipse, goto Perspective -> Git Repositories -> Add Git Repo | |
Eclipse Shortcut Keys for Code Editing | |
https://www.codejava.net/ides/eclipse/25-eclipse-shortcut-keys-for-code-editing |
com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed. Error: “Connection refused: connect. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.”.
The environments used as at writing:
Environment as at writing:
Build #IU-223.8214.52, built on December 20, 2022
Runtime version: 17.0.5+1-b653.23 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Download Kafka
, a open-source software platform developed by LinkedIn to handle real-time data.
-
Run
Command Line
as Administrator. -
Run command to
start up zookeeper server
.
OlderNewer