This is a aplication to manage a list of users. The app is built with React and Vite. The app is connected to a backend server coded in Node.js and Express.
Before running these commands, ensure you have yarn installed on your system. If not, you can install it by running npm install --global yarn (if you have NPM installed) or you can download Yarn from the official website.
- Install the dependencies:
yarn install- Run the app:
yarn dev- Run unit tests:
To run the unit tests, you can run the following command:
yarn testTo run the tests and update the snapshots, you can run the following command:
yarn test -uThe app will be running on http://localhost:5173. You can access it by opening your browser and typing this URL.
The app uses environment variables to configure the API URL and the API key. You can create a .env file in the root of the project and add the following variables:
[VITE_API_URL] - The URL of the backend server
[VITE_API_KEY] - The API key to access the backend server
[VITE_APP_NAME] - Passphrase to encrypt the JWT tokenThis project is divided into two parts: the server and the client. The server is built with Node.js and Express, and the client is built with React. The server is deployed to a VPS server in oracle cloud(vinhedo), and the client is deployed in a VPS server in contabo(germany).
You can acess the frontend app by clicking here
