From 2b770879a5a04a4072705c04ae940eb62afc6ba4 Mon Sep 17 00:00:00 2001 From: milky Date: Wed, 24 May 2023 11:17:23 +0200 Subject: [PATCH 1/2] Initialises project - git repo - firebase --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index e281bf0..b2bd7c4 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,7 @@ __"The devil is in the detail"__ Implementation details, the handling of edge cases, and your coding style are three of the major things that we value. We'd also love to see automated tests as part of your solution. Please pay special attention to: ​ - Logic and code complexity - How easy will my code be for it to be maintained by someone else? Am I using good practices and proper design patterns? - - Test coverage - Is my code tested? Are all scenarios considered? - - Requirement coverage - Is the application doing what it is meant to be doing? #### Bonus points From d6c9ef0f3330a59b8d56c869c7bce073d1a9a96d Mon Sep 17 00:00:00 2001 From: milky Date: Wed, 24 May 2023 11:47:25 +0200 Subject: [PATCH 2/2] Inits firebase --- .firebaserc | 5 ++++ .gitignore | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++ firebase.json | 16 ++++++++++++ 3 files changed, 89 insertions(+) create mode 100644 .firebaserc create mode 100644 .gitignore create mode 100644 firebase.json diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 0000000..1562df4 --- /dev/null +++ b/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "listingalab-bitcoin" + } +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..de4616d --- /dev/null +++ b/.gitignore @@ -0,0 +1,68 @@ +build + +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +firebase-debug.log* +firebase-debug.*.log* + +# Firebase cache +.firebase/ + +# Firebase config + +# Uncomment this if you'd like others to create their own Firebase project. +# For a team working on the same Firebase project(s), it is recommended to leave +# it commented so all members can deploy to the same project(s) in .firebaserc. +# .firebaserc + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env diff --git a/firebase.json b/firebase.json new file mode 100644 index 0000000..340ed5b --- /dev/null +++ b/firebase.json @@ -0,0 +1,16 @@ +{ + "hosting": { + "public": "build", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ] + } +}