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.
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
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
anddist
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
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
If you have some doubts or need to ask something about the project, feel free to reach me here:
- Twitter: https://twitter.com/jgcarrillo
- LinkedIn: https://es.linkedin.com/in/jgcarrilloweb
- Website: https://jgcarrillo.com/
- Stackoverflow: https://stackoverflow.com/users/18326020/jgcarrillo