Thanks to visit codestin.com
Credit goes to github.com

Skip to content

javieracevedo/vue-blague

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Web Dev Challenge

Tools and Techniques Used

  • Data Handling: Handled API requests using fetch and Vue Query (TanStack), with caching methods like useQuery, prefetchQuery, and invalidateQueries.
  • Component Styling: Used ShadCN for Vue as the base for components, along with Tailwind CSS for simple and responsive styling.
  • Loading State: Added skeleton loaders for joke cards to improve user experience during API calls or retries.
  • Pagination: Added server-side pagination and connected it to the front-end.
  • Favorites Management: Created and connected favorite/unfavorite endpoint.
  • Sorting: Added sorting options for ascending or descending order based on joke titles.
  • Error Handling: Included a toaster to show error messages when users hit API limits.

Front-end Project Setup

Installation

Install the required dependencies by running:

cd ui && npm install

Development

To start the development server with hot-reload:

cd ui && npm run dev

Back-end Project Setup

Installation

Install the necessary dependencies by running:

cd api && npm install

Development

Start the backend development server with automatic restarts using nodemon:

cd api && npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published