This is the frontend part of my BTC price predictor personal project. It was developed using Vite, React, Typescript, Tailwind and Axios.
https://github.com/DavidCandreanu00/BTC-Price-predictor-FE.git
This README contains instructions on how to use the frontend part of the BTC price prediction project.
The project was created using Vite, React, Typescript, Tailwind, and Axios.
If this is your first time using the project on your browser, you will need to generate a user ID. Press the "Set User ID" button to be assigned a unique one, which will be stored in local storage. You can delete it from local storage and generate a new random one by pressing the button again.
Below you will see the real-time BTC price and can make a prediction. Once you make a prediction, the buttons will disable, and you will not be able to place a new one until your pending prediction is resolved.
At the bottom of the page, you will see your current score, updated whenever your prediction is resolved. You gain one point for a correct prediction and lose a point for an incorrect one.
There are two ways to run this system:
The app follows the atomic architecture principles, being split into several types of building blocks (templates, organisms, molecules, atoms). This ensures readability and scalability of our functional components.
npm i at the root level to install all the required node modules.src/constants/appConstants.ts file.npm run dev to start the development.The biggest constraint in developing this app was time. Therefore, there are many improvements that could be added gradually. I will highlight a couple of ways how this project could be improved:
The backend repository can be accessed at this URL.