matheushenriquefs / weather-widget

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weather Widget

Lorem ipsum.

Techs

Prerequisites

Make sure you have the following dependencies installed on your system:

Docker >= 23.0.5
Docker Compose >= 2.17.3

Project Setup

  1. Clone this repository.
  2. Copy the .env.example file to .env.
cp .env.example .env

Running The Application

Start the development server using Docker Compose.

docker compose up

The application will be running in development mode by default. Open your browser to see it.

Run Unit Tests

If the container is already running execute unit tests by running the following:

docker exec -it weather-widget npm run test-unit

Type-Check, Compile and Minify for Production

To prepare the project for production, run:

docker exec -it weather-widget npm run build

Preview For Production

  1. Change the NODE_ENV value in .env.
  2. Run the application to preview the production build locally. Open your browser to see it.
docker exec -it weather-widget npm run preview

About

License:MIT License


Languages

Language:TypeScript 60.9%Language:Vue 19.0%Language:CSS 12.9%Language:JavaScript 5.1%Language:HTML 1.3%Language:Dockerfile 0.5%Language:Shell 0.4%