Skip to content

Latest commit

 

History

History
65 lines (38 loc) · 1.76 KB

README.md

File metadata and controls

65 lines (38 loc) · 1.76 KB

VOIDS Test

Installation

To run the Application:

sudo docker compose -f docker-compose.yml up -d --build

To visualize Server side Logs:

sudo docker logs voids_test-voids-server-1  -f

To visualize Client side Logs:

sudo docker logs voids_test-voids-client-1  -f

Features

  • forecasts sales Table based on Store Location.
  • Alerts generator to close the Store based on Store Location.
  • Chart showing forcasted sales and Temperature based on store location so that you can take manual decisions based on the data showing

Tech Stack

Client: React, TailwindCSS, chart.js

Server: Node, Express, mocha, Postgres, swagger

Along with Docker and docker compose

API Swagger

To test APIs with Swagger

  GET http://localhost:3000/api-docs/

App Screenshot

Screenshots

App Screenshot App Screenshot App Screenshot App Screenshot

Running Tests

I have Written some tests for the /forecasts/:location and /forecasts APIs in

  voidsbackend/test/user.test.js