Giter VIP home page Giter VIP logo

sirra-app-api's Introduction

Sirra-App-API


1-Description

Sirra app is an app that the user can interact with by choosing the current feeling that he/she feels, and the app shows suggestions that fit with the chosen feeling ,and the suggestions are web pages fetched by the API's of several companies ,websites,or newspeapers .

2-Demo

you can try Demo app her

3-Must Have

  • selection element help user to define his feeling
  • fetch API form weather API
  • fetch API from New York Times
  • add search bar for searching about specific article
  • add back button

    4-Nice to have

  • create local storage to storage user name .
  • fetch more API that help user more
  • add more feelings options .
  • add feature to filter results in news API .

    5- app structur

    .
    |                                    #front_end_part
    |--public
    |  |--img
    |  |--style.css
    |  
    |--reademe.md
    |--index.html
    |--src                                #javascript_part
    |  |
    |  |--app.js
    |  |--constant.js
    |  |--views                           #front_end_DOM
    |  |  |--loginView.js
    |  |  |--welcomeView.js 
    |  |  |--newsView
    |  |  |  |--newsView.js
    |  |  |  |--weatherView.js
    |  |  |  
    |  |  |--football&joke
    |  |  |  |--footballView.js
    |  |  |  |--jokesView
    |  |  | 
    |  |  |--foodView
    |  |  |  |--foodView.js
    |  |  |  |--reuseableFoodView.js
    |  |  |
    |  |--pages                      #logic-part
    |  |  |--loginPage.js
    |  |  |--weatherPage.js
    |  |  |--newsPag
    |  |  |  |--newsPage.js
    |  |  |  |--weatherPage.js
    |  |  |
    |  |  |--football&joke
    |  |  |  |--footballPage.js
    |  |  |  |--jokePage.js
    |  |  |
    |  |  |--foodPages
    |  |  |  |--foodPage.js
    |  |  |  |--searchFoodPage.js
    |  |  |  |--foodDetailPages.js
    |  |  |  
    |  |--general
    |  |  |--backButtonView.js
    |  |  |--backButtonPage.js
    |  |  |--logoView.js
    |  |  |--logoPage.js
    |  |  |
    |  |--lib
    |  |--|--localStorage.js
    |  |  |                              #some_reusable_function
    |  |--utility
    |  |  |--fetchAPI.js
    |  |  |--handelError.js
    |  |  |--initNewPage.js
    |  |  |--searchBar.js
    |  |  |
    

    6- app flow

    6-1 Sirra ask user about his/her name

    6-2 get the name and store it in local Storage

    6-3 initial welcome page with selector feeling

    6-3-1 curious! what is the latest news

    1-initial new page

    2-initial weather elements and fetch weather data

    3-initial search bar elemnts and prepare to catch value

    4-initial article elements and fetch most pobluar article

    5- initial search resulte page .

    6-3-2 boring ! tell me some jokes

    1- initial new page

    2- initial page content with tow button

    3- random joke button :fetch data from API and show it in monitor

    4- random useless true fact button : fetch data from API and show it in monitor

    6-3-3 excited ! what are football matches today

    1- initial new page

    2-initial matches card

    3- fetch data from API

    4- append data to matches cards

    6-3-4 hungry !! tell me some food recipes

    1 - initial new page

    2- initial header with random button and text field

    3- initial food card according to user input

    4-get recipe detail button : initial card for food recipe details


    some sirra photos

    developed by Mones-Hamd

  • sirra-app-api's People

    Contributors

    mones-hamd 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.