Skip to content

Personal project to put my studies on websockets into practice. In this project, you will be able to track the real-time prices of major currencies and chat with people who share the same interests in the crypto world.

License

Notifications You must be signed in to change notification settings

MichaelDouglasPIX/crypto-chat

Repository files navigation

Crypto Chat

Personal project to apply my studies on websockets. In this project, you can easily track the prices of various cryptocurrencies and major fiat currencies while chatting with others who share similar interests. Join us to learn, connect, and share your passion for the crypto world!

Chat usuario 1 Chat usuario 2

Technologies

Node.js Node.js
HTML HTML
CSS CSS
Express Express
socketio Socket.io

Prerequisites

Warning

To run the project, you must install the following tools on your machine:

The project uses two APIs to obtain the current exchange rate, you can create a free account on the page of both APIs:

  • CoinGecko: The CoinGecko API is necessary to obtain information about crypto assets.
  • ExchangeRate-API: The ExchangeRate-API is required to obtain information about fiat currencies.

[!IMPORTANT] Rename the .env_example into .env and change the EXCHANGE_RATE_KEY field.

PORT= //port to the server
COINGECKO_URL=https://api.coingecko.com/api/v3 //coingecko base url
EXCHANGE_RATE_API=https://v6.exchangerate-api.com/v6 //exchange rate api base url
EXCHANGE_RATE_KEY= //exchange rate api key

Installation

Clone the repository to your computer

git clone https://github.com/MichaelDouglasPIX/crypto-chat.git

Access the project

cd crypto-chat

Install dependencies

npm i

Run project locally

Start the project

npm run dev

Web page

After executing the project, it is possible to view the page with the chat and currency quotes.

  • Visit http://localhost:3000/ if the port in .env has been changed, access localhost with the new port.

License

MIT licensed.

About

Personal project to put my studies on websockets into practice. In this project, you will be able to track the real-time prices of major currencies and chat with people who share the same interests in the crypto world.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published