Instruções em Português
Bem-vindo ao TokenPulse, uma aplicação web para acompanhar ativos de criptomoedas.
- React
- Redux
- Jest
- Vitest
- Styled Components
- Rotas (React Router)
Para começar a usar a aplicação, siga as instruções abaixo.
⚙️ TokenPulse
git clone git@github.com:netoelix/TokenPulse.git
cd tokenpulse
Certifique-se de estar no diretório do projeto e execute:
npm install
Após a instalação das dependências, inicie a aplicação com o seguinte comando:
npm run dev
Acesse http://localhost:3033 no seu navegador para visualizar a aplicação.
Para executar o servidor local, primeiro crie um arquivo .env e adicione a sua chave de acesso a API conforme exemplo no arquivo .env.example, depois use o comando:
npm start
Isso iniciará o servidor localmente para acesso ao banco de dados da API, é importante alterar o URL do arquivo functionsAPI.ts para http://localhost:3000/getAll (ou a porta que o servidor escolher).
Para executar testes unitários e de integração, utilize o seguinte comando:
npm run test
Isso iniciará os testes utilizando Jest e Vitest.
Instructions in English
Welcome to TokenPulse, a web application for tracking cryptocurrency assets.
- React
- Redux
- Jest
- Vitest
- Styled Components
- Routes (React Router)
To get started with the application, follow the instructions below.
⚙️ TokenPulse
git clone git@github.com:netoelix/TokenPulse.git
cd tokenpulse
Ensure you are in the project directory and execute:
npm install
After installing the dependencies, start the application with the following command:
npm run dev
Access http://localhost:3033 in your browser to view the application.
To run the local server, first create an .env file and add your API access key as shown in the .env.example file. Then use the command:
npm start
This will start the server locally for access to the API's database. It is important to change the URL of the functionsAPI.ts file to http://localhost:3000/getAll (or whatever port the server chooses).
To run unit and integration tests, use the following command:
npm run test
This will initiate tests using Jest and Vitest.