Git Product home page Git Product logo

paseos's Introduction


This is not an officially supported Google product.


Paseos

Paseos is a web app for creating and sharing web journeys. A web journey consists of one or more destinations on the web with some accompanying travel notes.

You create a journey by listing a set of URLs to visit and adding notes to show along the way.

Setup

To setup this project:

  1. Install node.js.
  2. Run npm install.

Running

The project can be hosted locally by executing npm start.

Test

To execute tests run npm test.

Deployment

This project may be deployed to Google App Engine by running deploy.sh.

Configure Firebase database

The project uses a local IndexedDB database by default. If you would like to use a Firebase database instead then add a firebase-config.json file at the root. You may use the template at firebase-config.template.json.

paseos's People

Contributors

diegowilson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

paseos's Issues

Direct access to each destination

Sometimes you need to skip several steps or go back to the beginning. It would be very useful to have a way to jump directly to a destination along a journey.

Make google analytics configurable

The project has a private Google analytics tag which may cause problems for devs trying out the project. It should probably be an optional configuration.

Add markdown support

I believe there are some out-of-the-box web elements that could be added for displaying the description of each destination.

Local set up issues

Hello,

I had a few issues getting the project working locally. I made a few adjustment to get it working. Mostly, my own Firebase configuration issues, but I thought this may save someone else a bit of time. Otherwise, cool project. I'm interested to see where it goes.

The first issue I had was my Firebase project didn't have the proper authorized domain open. I went to Firebase Console > Authentication > Authorized Domains, and add a domain of "127.0.0.1".

The second issue I had was, the app couldn't connect because it was looking for a sign in provider for Firebase. I went to Firebase Console > Authentication > Sign-in Providers, and changed the sign-in provider to Anonymous. I also removed the lines of code below.

const provider = new firebase.auth.GoogleAuthProvider();
firebase.auth().onAuthStateChanged(function(user) {
if (user) {
} else {
firebase.auth().signInWithRedirect(provider);
}
});

My last issue, was the script tags for gtag.js in the main index.html file. Which I removed.

paseos/index.html

Lines 19 to 27 in 0bc450d

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-101075522-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-101075522-2');
</script>

All the best,

Private journeys?

Some people may want to have journeys that are only viewable by the creator.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.