Giter Site home page Giter Site logo

albertpratomo / vue-feedback-list Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 598 KB

A feedback list made in Vue 3 + MongoDB

Home Page: https://vue-feedback-list.vercel.app

License: MIT License

Vue 68.48% TypeScript 20.98% JavaScript 8.27% CSS 2.27%

vue-feedback-list's Introduction

Vue Feedback List

image

This is an app where you can view and submit feedbacks. You can play with it here.

The tech stack: Vue 3, Nuxt 3, Tailwind, TS, MongoDB, Mongoose, Zod, VeeValidate, Vitest, Testing Library.

Setup

  1. git clone this repo
  2. Install pnpm on your machine
  3. Create and fill in .env file
  4. pnpm i
  5. pnpm dev
  6. App should be live in localhost:3000
  7. pnpm test to run the automated tests

Notes

  1. I don't want to reinvent the wheel, thus I use design system components from Shadcn Vue. This allows me to get accessible and keyboard-navigable components quickly.
  2. I implement FE form validation, so user get instant feedback while typing. I also implement BE form validation, so the stored data is ensured to be clean. Thanks to Zod, the same schema can be reused to validate in FE and BE. The Zod schema is also used to generate Mongoose schema and the TS interface. See this commit.
  3. I added a Vitest component test to ensure that the page is functioning properly. See this test file.
  4. I implemented Tiptap to add Markdown support for the feedback body, so users can describe their feedback better. See this commit.
  5. I made it tablet and desktop responsive.

Improvement list

  1. Simplify form markup in FeedbackCreateForm.vue.
  2. Write component test for FeedbackCreateForm.vue.
  3. Use vue-i18n instead of hardcoding texts.
  4. Make the app mobile responsive.
  5. Add features: filter, sort, pagination.

vue-feedback-list's People

Contributors

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