Code Monkey home page Code Monkey logo

vue_spa_project's Introduction

Tasks

Fartakel Test App Definition

- Landing page, shows posts with a 24 posts pagination, must assign a random picture to each post
- View Post, upon selecting a post, the contents of post will be shown with options to delete and edit
    - In this page each post can have a random count of comments between (0-5)
- Edit Post, upon selecting user can edit the post
- Each post should have its author's user name below it
    - After clicking author's name, user will be redirected to a page with authors info and all the posts that this user has created will be shown here
- Posts that are Edited should be saved as history (browser storage)
- Posts that are deleted should be added to delete history (saved locally as json)

API Routes For Data

post resource: {
    id, title, body, userId
}
posts : https://jsonplaceholder.typicode.com/posts 
single post : https://jsonplaceholder.typicode.com/posts/<postId>
update post PUT/PATCH : https://jsonplaceholder.typicode.com/posts/<postId>
delete post : https://jsonplaceholder.typicode.com/posts/<postId>
posts of each user : https://jsonplaceholder.typicode.com/posts?userId=<postUserId>
comments for each post : https://jsonplaceholder.typicode.com/posts/<postId>/comments
users(authors) info : https://jsonplaceholder.typicode.com/users/<userId>

Notes

It is better to log the data and responses to console for each transction.
For each user's avatar it is better to have an image or the user initials as its avatar

Install the dependencies

npm install

Start the app in development mode

quasar dev

Build the app for production

quasar build

vue_spa_project's People

Contributors

amirasghary 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.