Skip to content

This part of a coding challenge that I've made for Waltmart (chile)

Notifications You must be signed in to change notification settings

Esequiel378/walmart-challenge-frontend

Repository files navigation

Walmart challenge - Web App

Description

A Lider demo web app built with Docker, Nuxt, Vuetify and Traefik as reverse proxy

Live demo lider.co

Setup

This project need a .env file in the root directory, with the next variables

# backend api url
BASE_URL=http://0.0.0.0:5000/api

Deployment

First you need to get the source code

git clone https://github.com/Esequiel378/walmart-challenge-frontend.git

Since the project use docker-compose, you can deploy locally by running

# build api and database images
docker-compose -f local.yml build

# create api and database containers
docker-compose -f local.yml up

Now you can visit http://localhost:3000/ to view the App running

Or if your in a production environment run

# build api and database images
docker-compose -f production.yml build

# create api and database containers
docker-compose -f production.yml up

Now you can visit your server ip/domain or http://localhost to view the App running

Testing

You can run the test docker

docker-compose -f local.yml run frontend npm test

Related Projects

TODO

  • Add more test to components

  • Add pagination

  • Add cart functionality

About

This part of a coding challenge that I've made for Waltmart (chile)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published