Code Monkey home page Code Monkey logo

articles-vuejs's Introduction

Articles VueJs

The purpose of this task is to make sense of and expand the existing knowledge of vue.js practically and theoretically. Website has to use json-server, to emulate the API

Build Setup

Install JSON Server

cd json-server/
npm install -g json-server

Run JSON Server

json-server --watch db.json

Install VueJs

cd website/
npm install

Run VueJs

npm run dev

JSON-SERVER database structure

The json-server will have to consist of the following tables:

  • Authors
  • Articles

The authors table:

Name Type
id integer
name text
created_at datetime
updated_at datetime

The articles table:

Name Type
id integer
title text
body text
author integer / id from author table
created_at datetime
updated_at datetime

Pages

The website must consist of the following pages:

  • Post page
  • Post detail page

Functionality

In order to perform the current task, the website must be able to perform the following functionality:

  • List of articles must be paginated
  • Display messages to user, when no articles were found
  • Articles page must have a search functionality
  • The list of authors must be static and fetched from json-server
  • Modal window must be used to create, edit or delete selected post
  • Same modal window must be used for creating, editing and deleting posts
  • Editing and deletion must be possible from any page. Both posts list or post detail page
  • The message must be shown to user on successful or unsuccessful actions with editing post
  • Input must be validated
  • Minimal design must be created using BULMA

articles-vuejs's People

Contributors

mokupsas avatar

Watchers

 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.