GithubHelp home page GithubHelp logo

aviabird / yatrum Goto Github PK

View Code? Open in Web Editor NEW
350.0 36.0 138.0 69.51 MB

Yatrum - Share and Discover Travel Stories, Itineraries, Travel Guides built with ♥️ using Angular 4.0.0

Home Page: https://yatrum.firebaseapp.com

License: MIT License

TypeScript 73.00% JavaScript 1.00% HTML 17.17% CSS 8.83%
angular redux ngrx opensource angular-2 aviabird

yatrum's Introduction

Yatrum App Logo

Yatrum App Logo

Yatrum built with ❤️ using Angular2, ngrx store, observables and reactive forms.

Visit Website

PRs Welcome Pivotal Project page

What's included?

  • Yatrum uses @ngrx libraries, showcasing common patterns and best practices.
  • Yatrum is a travel diary app for travellers.
  • Travellers can create itinerary for their trips.
  • This application utilises @ngrx/store to manage the state of the app and to cache requests made to the Backend API, @angular/router to manage navigation between routes, @ngrx/effects to isolate side effects.

AngularSpree

We have also created and open sourced AngularSpree: Plug and play frontend application for SPREE E-Commerce API built with ❤️ using Angular2, Redux, Observables & ImmutableJs.

Check it out and join the our team on it's slack channel for discussions related to AngularSpree.

Angular Fundamentals Course

Angular 2 Fundamentals Course

Based on this application we are working on a full blown Angular 2 fundamentals course on udemy. Throughout this course you'll learn how to build yatrum from ground up.

Course curriculum

  • Architecture, setup, source files
  • TypeScript basics
  • Getting started with latest angular
  • Template fundamentals
  • Rendering flows
  • Component Architecture and Modules
  • Services, Http and Observables
  • Template Forms, Inputs and Validation
  • Reactive Forms and more magic
  • Routing

Subscribe to this course here

Setting up

Clone the repoo
$ git clone https://github.com/aviabird/yatrum.git
$ cd yatrum
Install npm dependencies
$ npm install
Additional Settings

For Social login to work you need to create an app on faceook and google and note down the client id and secret id of individual app. Below are instructions for creating app on inidviudal social media site

  1. Google : Creating App Engine Project and Application
  2. Facebook : Creating a New Facebook App

Once you have created the app,rename secret.ts.example file in app folder to secret.ts and replace the dummy string with client id of respective social app.

Development server frontend

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

By default it connects to our dev api. If you want to setup the server locally clone the api and setup the rails server, However we only suggest that if you are familiar with Ruby on Rails. Please follow the instructions on the project page as the frontend uses the backend API to connect.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Deploying to Github Pages

Run ng github-pages:deploy to deploy to Github Pages.

License

MIT License

yatrum's People

Contributors

angular-cli avatar ashish173 avatar brakmic avatar chandradot99 avatar kartikjagdale avatar pkrawat1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yatrum's Issues

Cannot find module 'ng2-cable/js/index' error

When installing npm packages, the index file for module 'ng2-cable' does not exist, and the reference to the index file in 'yatrum/src/app/components/trips/trip-detail/trip-detail.component.ts' throws an error and the application cannot be built.

version: [email protected]

Calling service for http request in component

Hi there,
Great repo, I am using it to try to learn about ngrx/store. I have a question regarding usage of the trip.service in your edit-trip.component. In your onSubmit() method you seem to making a direct async post request to your server rather than dispatching to the store using the SAVE_TRIP action type in order for the async request to be made in the effects module. I was just wondering why this choice was made.
Thanks and keep up the good work!

Profile picture is not loading, social media buttons on the left does not have an icon

Profile picture : Few of the user's profile picture is not displayed. Instead an ugly half loaded image is showing up. Maybe you didn't handle the case for users without a profile picture?

Social media buttons : The buttons does not have any icons on them unless hovered over it.

I'm just starting with Angular and I would happily take up the task if you find it as an issue.

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.