Welcome to the "Tienda FACTOR IT" project, a full-stack app made for FactorIT's interview proccess. This document provides information about the required runtimes, engines, tools, and their concrete versions to run the application successfully.
Before you can run the "Tienda FACTOR IT", please ensure that you have the following dependencies and tools installed:
-
Java: Java Development Kit (JDK)
- Version: OpenJDK 17 (or a compatible version)
- Download OpenJDK
-
Maven: Build and dependency management tool for Java projects
- Version: 3.8.4 (or a compatible version)
- Download Apache Maven
-
npm: Node.js package manager
- Version: 6.14.13 (or a compatible version)
- Download Node.js
-
React: JavaScript library for building user interfaces
- Version: 16.10 (or a compatible version)
- React Documentation
-
Clone the Repository: Clone the "Tienda FACTOR IT" repository to your local machine:
git clone https://github.com/andyholes/tienda-factor-it.git
-
On the frontend folder run the following command
npm install
-
Start both the backend and frontend together.
You can access Swagger to get a list of the available endpoints exposed by the API. To do so, once the project is nice and running, visit http://localhost:8080/swagger-ui/index.html
The project uses H2 in memory database. For accessing the ddbb console visit http://localhost:8080/h2-console/ with the parameters setted on the application.properties file