JumpStart – CI, CD, Pair Programming, Estimation and Prioritization

Continuous Integration This is what happens if a team works in silos and only integrate at the end: The solution is: Good user stories and clarification of the user stories Communications throughout the team Continuous integration – integrate on every push Benefits of CI: Shorter feedback cycles Transparency: other team members can see other members’ … Continue reading JumpStart – CI, CD, Pair Programming, Estimation and Prioritization

More on JWT (for React Native)

Using JWT on a React Native project is slightly different from a web project, but offers the same benefits plus some. Stateless, easy to scale: Server does not need to store user sessions, as JWT contains the authorization of the user, including the expiry date. Reusability: We can have multiple servers on different platforms and … Continue reading More on JWT (for React Native)

JumpStart – Avoid GIT merge hell, User Stories

GIT branch A branch is a pointer for a particular commit. So when you do a git branch, the new branch and master points to the same branch at inception. You will branch from the commit you are on. Fixing Errors or Deleting branches after merge: (You should do it so that you don’t have … Continue reading JumpStart – Avoid GIT merge hell, User Stories

JumpStart – JWT

JWT Jwt (JSON web token) is an open, industry standard RFC 7519 method for representing claims securely between two parties. Common use cases: Authorization: This is the most common scenario for using JWT. Once the user is logged in, each subsequent request will include the JWT, allowing the user to access routes, services, and resources that are … Continue reading JumpStart – JWT

JumpStart – Intro to SQL and Relational DB

ACID Atomicity – guarantees that all of one transaction is carried out Consistency – consistent with a schema Isolation – two transactions should not know of each other Durability – changes are saved to a durable medium (hard disk, etc)   Use sequelize managed transaction so that if query fails halfway, change is rollbacked await … Continue reading JumpStart – Intro to SQL and Relational DB

JumpStart – GIT for collaborations

    gitk to get gui for git git fetch to local repo git reset to unadd git checkout . (undo unwanted changes) git stash -u (stash untracked files) git stash pop 1 (stash pop particular stash by number, where 1 is the number) git pull -r [origin master](rebase: put aside your commit, pull updated … Continue reading JumpStart – GIT for collaborations

JunpStart – Refactoring using Sequelize

postgresSQL Today, we will be refactoring our mongodb books api to work with postgresSQL DB DBMS has been around since 60s click here for more history SQLite is a lightweight db MariaDB is forked from mySQL Sequelize is a promise-based Node.js ORM for postgres, etc (That means it converts our mongodb books api to SQL … Continue reading JunpStart – Refactoring using Sequelize

JumpStart – Modeling in MongoDB, Encryption (Password)

Integrate Heroku + Mongo Curerent Models: Book, Author (naming convention: singular and capitalized) process ax (services in windows) Authentification Model user const userSchema = new mongoose.Schema({ username: { type:String, required:true, index: {unique:true} }, password: { type:String, required:true } }); Encrypt password Hashed password is saved to server https://en.wikipedia.org/wiki/Rainbow_table https://stackoverflow.com/questions/6832445/how-can-bcrypt-have-built-in-salts JWT Algo . Data . Sign … Continue reading JumpStart – Modeling in MongoDB, Encryption (Password)

Design a site like this with WordPress.com
Get started