Git Product home page Git Product logo

wedevsq04's Introduction

weDevsQ04

Que: 4

Pick any CSS framework. Create a CRUD using vue-router for two resources: Posts and Categories. A post belongs to multiple categories.

Conditions: Create and Edit forms should be within modals. While editing a Post, user should be able to update the category using a multi-select (because a post can have multiple categories) and the first item of that dropdown should be “Create New Category” so that the user can create a category on the fly. Visit this link to get a clearer idea: http://tareq.in/Ij0S77

If the user selects “Create New Category”, the modal that you’ve created for a new category earlier should open within your current Edit Post modal. User will create the category on-the-fly and after creating the category, the Create Category modal should now close and the newly created category will be automatically appended to the multi-select items and should also be selected along with the old ones. Now the user should click the save button on the “Edit Post” modal and the Post will be updated accordingly.

For data storage, you can use in-memory (array) or localStorage or any back-end you like.

Project setup

npm install

Compiles and hot-reloads for development

npm run database
npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

wedevsq04's People

Contributors

dhmizu95 avatar

Watchers

James Cloos 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.