Skip to content

Commit 2f81bd0

Browse files
Samuel ImolorheSamuel Imolorhe
Samuel Imolorhe
authored and
Samuel Imolorhe
committed
Initial commit.
Added initial firebase project.
0 parents  commit 2f81bd0

File tree

8 files changed

+258
-0
lines changed

8 files changed

+258
-0
lines changed

.editorconfig

Whitespace-only changes.

.firebaserc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "memeng-66697"
4+
}
5+
}

.gitignore

+153
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
2+
# Created by .ignore support plugin (hsz.mobi)
3+
### Example user template template
4+
### Example user template
5+
6+
# IntelliJ project files
7+
.idea
8+
*.iml
9+
out
10+
gen
11+
12+
### Sass template
13+
.sass-cache/
14+
*.css.map
15+
### JetBrains template
16+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
17+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
18+
19+
# User-specific stuff:
20+
.idea/workspace.xml
21+
.idea/tasks.xml
22+
.idea/dictionaries
23+
.idea/vcs.xml
24+
.idea/jsLibraryMappings.xml
25+
26+
# Sensitive or high-churn files:
27+
.idea/dataSources.ids
28+
.idea/dataSources.xml
29+
.idea/dataSources.local.xml
30+
.idea/sqlDataSources.xml
31+
.idea/dynamic.xml
32+
.idea/uiDesigner.xml
33+
34+
# Gradle:
35+
.idea/gradle.xml
36+
.idea/libraries
37+
38+
# Mongo Explorer plugin:
39+
.idea/mongoSettings.xml
40+
41+
## File-based project format:
42+
*.iws
43+
44+
## Plugin-specific files:
45+
46+
# IntelliJ
47+
/out/
48+
49+
# mpeltonen/sbt-idea plugin
50+
.idea_modules/
51+
52+
# JIRA plugin
53+
atlassian-ide-plugin.xml
54+
55+
# Crashlytics plugin (for Android Studio and IntelliJ)
56+
com_crashlytics_export_strings.xml
57+
crashlytics.properties
58+
crashlytics-build.properties
59+
fabric.properties
60+
### Node template
61+
# Logs
62+
logs
63+
*.log
64+
npm-debug.log*
65+
66+
# Runtime data
67+
pids
68+
*.pid
69+
*.seed
70+
71+
# Directory for instrumented libs generated by jscoverage/JSCover
72+
lib-cov
73+
74+
# Coverage directory used by tools like istanbul
75+
coverage
76+
77+
# nyc test coverage
78+
.nyc_output
79+
80+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
81+
.grunt
82+
83+
# node-waf configuration
84+
.lock-wscript
85+
86+
# Compiled binary addons (http://nodejs.org/api/addons.html)
87+
build/Release
88+
89+
# Dependency directories
90+
node_modules
91+
jspm_packages
92+
93+
# Optional npm cache directory
94+
.npm
95+
96+
# Optional REPL history
97+
.node_repl_history
98+
### SublimeText template
99+
# cache files for sublime text
100+
*.tmlanguage.cache
101+
*.tmPreferences.cache
102+
*.stTheme.cache
103+
104+
# workspace files are user-specific
105+
*.sublime-workspace
106+
107+
# project files should be checked into the repository, unless a significant
108+
# proportion of contributors will probably not be using SublimeText
109+
# *.sublime-project
110+
111+
# sftp configuration file
112+
sftp-config.json
113+
114+
# Package control specific files
115+
Package Control.last-run
116+
Package Control.ca-list
117+
Package Control.ca-bundle
118+
Package Control.system-ca-bundle
119+
Package Control.cache/
120+
Package Control.ca-certs/
121+
bh_unicode_properties.cache
122+
123+
# Sublime-github package stores a github token in this file
124+
# https://packagecontrol.io/packages/sublime-github
125+
GitHub.sublime-settings
126+
127+
### OSX template
128+
*.DS_Store
129+
.AppleDouble
130+
.LSOverride
131+
132+
# Icon must end with two \r
133+
Icon
134+
135+
# Thumbnails
136+
._*
137+
138+
# Files that might appear in the root of a volume
139+
.DocumentRevisions-V100
140+
.fseventsd
141+
.Spotlight-V100
142+
.TemporaryItems
143+
.Trashes
144+
.VolumeIcon.icns
145+
.com.apple.timemachine.donotpresent
146+
147+
# Directories potentially created on remote AFP share
148+
.AppleDB
149+
.AppleDesktop
150+
Network Trash Folder
151+
Temporary Items
152+
.apdisk
153+

database.rules.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"rules": {
3+
".read": "auth != null",
4+
".write": "auth != null"
5+
}
6+
}

firebase.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"database": {
3+
"rules": "database.rules.json"
4+
},
5+
"hosting": {
6+
"public": "public",
7+
"rewrites": [
8+
{
9+
"source": "**",
10+
"destination": "/index.html"
11+
}
12+
]
13+
}
14+
}

gulpfile.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
let gulp = require('gulp');
2+
let sass = require('gulp-sass');
3+
let uglify = require('gulp-uglify');
4+
5+
6+
gulp.task('sass', () => {
7+
return gulp.src('scss/styles.scss')
8+
.pipe(sass())
9+
.pipe(gulp.dest('public/css'))
10+
.pipe(notify({message: 'SCSS compiled!'}));
11+
});

public/index.html

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Welcome to Firebase Hosting</title>
6+
<style media="screen">
7+
body {
8+
font-family: Roboto, Arial, sans-serif;
9+
background: #ECEFF1;
10+
color: rgba(0,0,0,0.87);
11+
}
12+
13+
a {
14+
color: rgb(3,155,229);
15+
}
16+
17+
#message {
18+
max-width: 400px;
19+
margin: 40px auto;
20+
box-shadow: 0 1px 3px 0 rgba(0,0,0,0.2),0 1px 1px 0 rgba(0,0,0,0.14),0 2px 1px -1px rgba(0,0,0,0.12);
21+
border-radius: 2px;
22+
background: white;
23+
padding: 16px 24px;
24+
}
25+
26+
#message h1 {
27+
font-size: 22px;
28+
font-weight: 500;
29+
text-align: center;
30+
margin: 0 0 16px;
31+
}
32+
33+
#message p {
34+
font-weight: 300;
35+
line-height: 150%;
36+
}
37+
38+
#message ul {
39+
list-style: none;
40+
margin: 16px 0 0;
41+
padding: 0;
42+
text-align: center;
43+
}
44+
45+
#message li a {
46+
display: inline-block;
47+
padding: 8px;
48+
text-transform: uppercase;
49+
text-decoration: none;
50+
font-weight: 500;
51+
background: rgb(3,155,229);
52+
color: white;
53+
border: 1px solid rgb(3,155,229);
54+
border-radius: 3px;
55+
font-size: 14px;
56+
box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
57+
}
58+
</style>
59+
</head>
60+
<body>
61+
<div id="message">
62+
<h1>Welcome to Firebase Hosting</h1>
63+
<p>You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!</p>
64+
<ul>
65+
<li><a target="_blank" href="https://firebase.google.com/docs/hosting/">Open Hosting Documentation</a></li>
66+
</ul>
67+
</div>
68+
</body>
69+
</html>

scss/styles.scss

Whitespace-only changes.

0 commit comments

Comments
 (0)