The GMS frontend is a web application built with React, TypeScript, and Vite. It allows users to interact with the GMS backend API to manage gateways and their associated peripheral devices.
The application is currently temporarily deployed at https://gateways-backend-production.up.railway.app/ until March 1st.
To run the GMS frontend, you'll need the following installed on your system:
- Node.js (version 16 or higher)
- Clone the repository from GitHub:
https://github.com/jorgelhd94/gateways-frontend.git
- Install the dependencies:
yarn install
- Configure the environment variables:
- Clone the file
.env.template
and rename the copy to.env
- Edit the environment variables defined in
.env
- This is the api backend url
VITE_SERVER_URL=http://localhost:3000/api/v1
- Start the server in development mode:
yarn dev
- Open the application in your web browser
http://localhost:5173/
To run the tests for the GMS frontend, use the following command:
yarn test
- Run the following command:
yarn build
- Copy all the files located inside the
/dist
folder generated by the step one. - And follow the deployment instructions in the: GMS Backend Repository.
- React JS
- Typescript
- React Router
- Redux
- Vitest
This project is licensed under the MIT License.