Hospify Core is a backend service. It provides REST API for Hospify
- Install
postgresql
(prefer v10) - Install
golang
, set up path (Unix only, google for Windows)
# .bash_profile
export GOPATH="/your/go/path" # /Users/<username>/Documents/go
Hospify Core is a backend service. It provides REST API for Hospify
postgresql
(prefer v10)golang
, set up path (Unix only, google for Windows)# .bash_profile
export GOPATH="/your/go/path" # /Users/<username>/Documents/go
Source: 1.Freecodecamp https://learn.freecodecamp.org/front-end-libraries/react 2.Scrimba https://scrimba.com/g/glearnreact 3.
My coding dairy
This is Javascript hint from FFC program
This is
// tabs is an array of titles of each site open within the window | |
var Window = function(tabs) { | |
this.tabs = tabs; // we keep a record of the array inside the object | |
}; | |
// When you join two windows into one window | |
Window.prototype.join = function (otherWindow) { | |
this.tabs = this.tabs.concat(otherWindow.tabs); | |
return this; | |
}; |
function Dog() { | |
this.name = "Rupert"; | |
this.color = "brown"; | |
this.numLegs = 4; | |
} | |
// Add your code below this line | |
let hound = new Dog(); |
//1. function (let PROP in OBJECT) { do something} | |
// if OBJECT is a STR => ex: let str = 'abc' | |
// str is consider as Object str = {0: 'a', 1: 'b', 2:'c'} | |
//Reverse a String | |
function reverseString(str) { | |
let rStr =''; | |
for (let i in str) { | |
rStr += str[str.length-1-i] | |
} |