Git Product home page Git Product logo

andrewjbateman / ionic-angular-notes Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 2.0 6.86 MB

:clipboard: App to show a list of items, each with a clickable link to a detailed page. To be developed into an Android app.

License: MIT License

JavaScript 6.86% TypeScript 65.52% HTML 9.47% Java 6.53% SCSS 11.63%
scss-styles html5 android-app android-studio ionic android recipe-page recipe ionic-angular-notes angular13

ionic-angular-notes's Introduction

โšก Ionic Angular Notes

  • App to show recipes as a list and in a detailed view, using the Ionic framework.
  • Note: to open web links in a new window use: ctrl+click on link

GitHub repo size GitHub pull requests GitHub Repo stars GitHub last commit

๐Ÿ“„ Table of contents

๐Ÿ“š General info

  • The Home page is a list of recipes. Click on one and it shows the detailed recipe page using the recipe id.
  • The back button routes the user back to the home screen.
  • The delete button deletes the recipe with an alert appearing
  • Capacitor installed so app can be run on android.

๐Ÿ“ท Screenshots

Recipe List Recipe Detail Page

๐Ÿ“ถ Technologies

๐Ÿ’พ Setup

  • Run npm i to install dependencies
  • To start the server on localhost://8100 type: 'ionic serve'
  • The Ionic DevApp was installed on an Android device from the Google Play app store.

๐Ÿ’ป Code Examples

  • functions to search for info and retrieve more detailed info.
getAllRecipes() {
  return [...this.recipes];
}
// return a single recipe for an id
getRecipe(recipeId: string) {
  return {
    ...this.recipes.find(recipe => {
      return recipe.id === recipeId;
    })
  };
}

// delete a recipe using the filter function and recipe id
  deleteRecipe(recipeId: string) {
    this.recipes = this.recipes.filter(recipe => {
      return recipe.id !== recipeId;
    });
}

๐Ÿ†’ Features

๐Ÿ“‹ Status & To-do list

  • Status: Working.
  • To-do: change data in recipes.services.ts. Add functionality. run in Android simulator.

๐Ÿ‘ Inspiration

๐Ÿ“ License

  • This project is licensed under the terms of the MIT license.

โœ‰๏ธ Contact

ionic-angular-notes's People

Contributors

andrewjbateman avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.