Skip to content

Project with the purpose to display a list of images based on the client search and pretend a contest between sellers giving them 3 point once you click on its image until a seller get 20 points

Notifications You must be signed in to change notification settings

gioudi/seller-images-contest-vue-typescript

Repository files navigation

Image test

Hi there!

I hope you are doing well. In this project, you can find a feature to consume an API and displays a list of sellers and images based on the customer's wish.

For frontend, I used Vue and Vuex. As a developer always looking to improve the code quality, I have integrated TypeScript and ESLint as well.

Links

Features

  • Image Search: Users can search for inspiring images using a search term.
  • Invoice Creation: Users can create invoices by filling out a form with required details.
  • Dynamic Data Fetching: Integrates with external APIs to fetch and display data.

Technologies 💻

  • Vue 3
  • TypeScript
  • Vuex
  • SCSS
  • Vue Router
  • Axios
  • Vue3 Carousel

Author

Installation

Prerequisites

  • Node.js (version 14.x or higher recommended)
  • npm (version 6.x or higher)
  1. Clone the repository: git clone https://github.com/gioudi/alegra-test-vue-typescript.git
  2. Navigate to the project directory: cd alegra-test-vue-typescript
  3. Install dependencies: npm install
  4. Build prod: npm run build
  5. Lint and fix files npm run lint --fix

Usage

Search for Images

  • Navigate to the search page.
  • Enter a search term in the input field.
  • Click the "Buscar" button to fetch images.

Select a winner

  • Navigate to list of images
  • Vote the best image
  • If a seller get 20 points, the game finish

Create an invoice

  • Navigate to the invoice creation page.
  • Fill out the form with the required details.
  • Click the "Crear factura" button to submit the form.

Strcuture

  • seller-images-contest-vue-typescript/
    • public/
    • src/
      • assets/
      • components/
        • CarouselFile.vue
        • ErrorFile.vue
        • LoadingFile.vue
      • store/
        • index.ts
        • modules/
          • images.ts
          • invoices.ts
      • views/
        • LandingPage.vue
        • ImageList.vue
        • InvoiceForm.vue
      • App.vue
      • main.ts
      • router/
        • index.ts
    • .gitignore
    • package.json
    • README.md
    • tsconfig.json

License

This project is licensed under the MIT License. See the LICENSE file for more information.

About

Project with the purpose to display a list of images based on the client search and pretend a contest between sellers giving them 3 point once you click on its image until a seller get 20 points

Resources

Stars

Watchers

Forks

Packages

No packages published