Skip to content

ajmasia/simple-auctions-app

Repository files navigation

Auction app

Auction App

Playing with Vue.js

Table of content

Demo

You can see an example of this project in this url https://auctions.idavinci.net

Install

To test the app, please follow the next steps:

Clone this repo

Using SSH: git clone https://github.com/ajmasia/simple_auctions_app.git

Ussing HTTPS: git clone [email protected]:ajmasia/simple_auctions_app.git

Playing

Commad Description
npm i Install project dependences
npm run serve Run app in dev mode
npm run build Build app
npm run test:unit Run app tests
npm run test:unit:dev Run app testis in dev mode
npm run lint Run linter tool to fix code issues

Documentation

This project it's a simple auction application. As a buyer, you have to enter the maximum price you are willing to pay for a product, and as a seller, you have to enter the minimum price for which you are willing to sell the product. Finally, the app will show your the result in a simple popup.

If you are in the middle of an auction and return to the home, the user receives a notification.

App config

This project use the OpenWeather API to get cities weather data. You will need a valid API key to use it. Currently the project use a setTimeout to simulate a Delay while the app receive new data and can show an spinner. Ideally, make the call to the api at the beginning of the app.

Before run the app, you have to install all project dependences and set the config file renaming the example.config.js to config.js:

export const appConfig = {
  openWeatherAPIKey: '',
  openWeatherAPIUrl: 'http://api.openweathermap.org/data/2.5/',
  coords: {
    lat: null,
    long: null,
  },
  units: 'metric',
  tempUnit: 'Cº',
  lang: 'es',
  currency: 'EUR',
  currencyDigits: 2,
}

To get the data from Huesca, you need to config this coords:

{
  lat: 42.1382,
  long: -0.4081,
},

Technologies

This project use the next tecnologies:

Changelog

Version 0.2.0

  • Refactor some code parts.
  • Add some app test.

Version 0.1.0

  • Initial app version includes localization using Vuex-i18n to project localization.

License

About

Technical assessments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published