This is a TOP 10 of the trending coins at the moment, it was implemented using Laravel 10 and Nuxt.js 3
This project during the dev environment doesn't need the SSL protocol to be enabled. Also this project was tested on Unix environments (Linux and Mac) some commands on Windows may vary.
- PHP 8.1.17 or later
- Composer 2.5.5 or later
- Node.js 16.19.1 or later
- Yarn 1.22.19 pr later
- Docker 23.0.5 (optional)
ℹ: The versions informed above are the ones used during the dev environment on my machine. It may and may not work on previous versions of the above applications.
Below you will have two installation methods, with PHP and Node.js and using Docker although the Docker setup is just for the Backend (for now). Also be aware that the setup is just for development environment, it is in no way intended for production.
Clone this repository, open the terminal and navigate to the cloned directory. Then execute the following commands:
cd fw-backend && composer install && cp .env.example .env && php artisan key:generate && php artisan serve
Open another terminal in the same cloned directory and execute the following commands:
cd fw-frontend && yarn && yarn dev -o
Clone this repository, open the terminal and navigate to the cloned directory. Then execute the following commands:
docker-compose build && docker-compose up -d
For the next step is better to check if the Docker container is already running, for that execute:
docker-ps
And if everything is ok, you'll see something like this:
And for the last run the following:
docker exec -it top10coins-web bash -c 'composer install && cp .env.example .env && php artisan key:generate && chmod -R 777 storage'
Open another terminal in the same cloned directory and execute the following commands:
cd fw-frontend && yarn && yarn dev -o
If everything went fine you should probably already have the application opened in your browser. But just in case you don't, click the link below:
TOP 15 COINS http://127.0.0.1:3000