Skip to content

jgcarrillo/fct-control-vuejs

Repository files navigation

Control a list of tasks with Vue, Vuex and Vite

image

Create, edit and delete a list of task

Table of contents 👇

✨ Main purpose

The main purpose of this project was to learn the basics of Vue. In this case I wanted to replicate a web application to add new tasks to control the user workflow. You can perform several actions which include:

  • Add or update the user data
  • Add new task
  • Search for a specific task by task title

This application uses Vuex to manage the internal storage of the tasks as well as the user data and the search term input.

🔥 Set the project locally

To run the project locally you need to simply do the following:

  • git clone https://github.com/jgcarrillo/fct-control-vuejs.git
  • npm install
  • npm run dev

🚀 Netlify deployment

To deploy a SPA to Netlify you need to do the following steps:

  • Create a new file in public folder called _redirects
  • Add /* /index.html 200 to that file content
  • In Netlify, set vite build and dist folder to deploy

You can check this article about deployment. If you are not going to use a SPA, you probably don't need to set the redirects rule

🎢 Future improvements

As I said before, this is a dummy project to lear Vue, so several features could be added in the future to make the app more robust. Probably some of them are:

  • Improve Tailwind CSS, mostly in non-desktop devices
  • Better storage management
  • Add a database (MongoDB, SQLite) to persist data
  • Add custom pagination component
  • Add custom filters, probably search by a range of dates
  • Add a 404 page not found error

🌎 Contact

If you have some doubts or need to ask something about the project, feel free to reach me here: