cntl+alt+t
cd
# Npm Express libs: | |
### 1. Express (Framework) | |
### 2. Bodyparser (middleware) | |
### 3. cors ( for giving access from any client) | |
### 4. morgan (for logging on console about calls) | |
### 5.jsonwebtoken ( for creating auth Bearer token) | |
### 6.bcryptjs ( for password hashing)[npm i bcrypt-nodejs --save] | |
# Npm Mysql lib: |
BASIC INTERFACE AS A COMMUNICATOR | |
How to create an interface: | |
public interface ItemClickListener { | |
void onItemClick(String message); | |
} | |
An Interface has two User class. | |
Sender: |
# SSH Cheat Sheet | |
## This sheet goes along with this [SSH YouTube tutorial](https://www.youtube.com/watch?v=hQWRp-FdTpc&t=1270s) | |
### Login via SSH with password (LOCAL SERVER) | |
```$ ssh [email protected]``` | |
### Create folder, file, install Apache (Just messing around) | |
```$ mkdir test``` | |
```$ cd test``` |
### For Accessing any server in gitbash | |
``` | |
ssh userName@hostAddress | |
``` | |
### Then enter the password | |
### Install update | |
``` | |
sudo apt-get update | |
``` |
## Angular 7 CLI | |
## install the angular cli | |
``` | |
npm install -g @angular/cli | |
``` | |
## create a new project | |
``` | |
ng new app-name | |
``` |
## Type Script Crash Course | |
### Install type script using npm | |
``` | |
npm i -g typescript | |
``` | |
### compile a type script code into java scipt | |
``` | |
tsc filename.ts |
## MongoDb is a document database or nosql database with no relation like firebase db | |
## Install Mongodb and mongodb compass app | |
## add the mongod path into environment variables | |
## cheack mongo db version | |
``` | |
mongod --version | |
``` |
### Preparing the platforms : | |
#### 1: install node with npm | |
#### 2: install ionic | |
``` | |
npm i -g ionic | |
``` | |
#### 3: install cordova and jdk | |
``` |
### For showing mysql verseio | |
``` | |
mysql --version | |
``` | |
### For using mysql cli | |
``` | |
mysql | |
``` |