Coder Social home page Coder Social logo

newaustriancodingschool / angular-simple-social-media Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 1 MB

this is a simple social media as a front-end using Angular framework.

License: MIT License

TypeScript 76.74% JavaScript 7.30% HTML 8.39% CSS 7.57%

angular-simple-social-media's Introduction

angular-simple-social-media

this is a simple social media as a front-end using Angular framework.

Step-By-Step

  • Initialize environement

    • make repo. with your github profile
    • copy it inside you pc.
    • access this folder or repo and install new Angular project with a name.
    • Push to your repo. Done.
  • Create a componenet for posts component.

    • create folder called componenets
    • create the componenet with ng g c posts
    • for the required to bind it with root componenet.
    • we did the styleing of the part componenet or (Root).
  • Styling th posts componenet

    • Create the html content.
    • style every element of the posts component.
  • Prepare for service

    • design your http service in GENERAL.
    • Prepare you module with this service.
    • decide if your service is shared or private.
    • Combine it with your components.
    • Inject it with component.
    • test
  • Bind data with the view

    • design your logic in the view (html in the root)

Social-Media-part-2

  • Creating routing as test

    • Create routing module using "ng g m routes --routing"
    • Correct some lines.
    • Bind the routing with the main app.module.ts
    • Create components as pages.
    • Bind components that act like pages with routing
    • Test the project was not successful.
    • Fixing the main app.component.html
    • Add default page as error if there is no route with the same path
  • Redesigning the pages

    • Navbar component
      • Cereate navbar as component
      • Do the styling of navbar
      • Add routerLink as links for the pages of our app.
    • Create about us page
      • Create aboutus as page
      • Do the styling
      • Bind the component with routing so it acts like a page
      • Go to the navbar and change the routerLink to the correct link as routing path
    • Create all posts page
      • Create allposts page.
      • Styling for allpost page.
      • Bind allposts page with routing module.
      • Bind the link of allposts to the navbar.
      • Implement http request
      • Reduce the info inside all post
      • create another component called postindetails as page
      • Bind it with routing.
      • Add shared serivce between components.
      • implement the sharing logic.

angular-simple-social-media's People

Contributors

ahmedbhameed avatar

Watchers

 avatar  avatar  avatar

Forkers

diaaaaaa

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.