Create a list of links, then share it!
Global packages required:
Along with the tools above, a new Firebase project will need to be set up in your (Firebase Console)[https://console.firebase.google.com/]
Check out the repository:
git clone https://github.com/denno020/linkslist.git
N.b. The folder name will need to be all lowercase in order to be able to configure the project with Firebase Tools CLI
After the repository has been cloned, navigate into the directory and initialise a new Firebase project,
firebase init
N.b. As you're going through init
above, the CLI will ask if you wish to overwrite functions/package.json
and functions/index.js
,
select No
for both.
Then make the following updates
-
Update project ID's and API keys in
application-configuration.js
-
Set names of your database tables in
functions/tables.json
Once Firebase is configured, the rest of the project can be configured,
yarn install
N.b. this is different to the npm install
that Firebase Tools CLI asked if you'd like to run.
Then make the following updates
- [Optional] Update the Bugsnag ID in
src/main.js
- Bugsnag is a great bug tracking library that will notify you via email when an error occurs on your site.
- [Optional] Update Google Analytis ID in
public/index.html
To run the application locally
yarn serve
To use local copies of Firebase cloud functions
firebase serve --only functions
- 1.0.0
- Initial release
Luke Denton - @denno020 - [email protected]
Distributed under the GNU General Public Licence. See LICENCE
for more information.
https://github.com/denno020/linkslist
- Fork the repository (https://github.com/denno020/linkslist)
- Create your feature branch (
git checkout -b feature/myFeature
) - Commit your changes (
git commit -am 'Added myFeature'
) - Push to the branch (
git push origin feature/myFeature
) - Create a new Pull Request