Skip to content

Instantly share code, notes, and snippets.

View pRob3's full-sized avatar
🐒
Dance monkey!

Dennis Asplind pRob3

🐒
Dance monkey!
View GitHub Profile
@pRob3
pRob3 / Countries.sql
Last active January 17, 2021 22:11
Sql dump of all the Countries, Country Codes, Phone codes. (MSSQL) .
-- Check i table exists else create it
IF NOT EXISTS (SELECT * FROM sys.objects
WHERE object_id = OBJECT_ID(N'[dbo].[Country]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].Country(
Id int NOT NULL IDENTITY(1,1) PRIMARY KEY,
Iso char(2) NOT NULL,
Name varchar(80) NOT NULL,
NiceName varchar(80) NOT NULL,

Firebase Setup For House Marketplace

  1. Create Firebase Project
  2. Create "web" app within firebase to get config values"
  3. Install firebase in your project "npm i firebase
  4. Create a config file in your project
  5. Add authentication for email/password and Google
  6. Create a user from Firebase
  7. Enable Firestore
  8. Add rules for firestore