https://github.com/maciekiwaniuk/demo-crypto-exchange
💲 Demo cryptocurrencies exchange single page application made with Symfony 6 and Vue 3
https://github.com/maciekiwaniuk/demo-crypto-exchange
authentication cryptocurrency-exchanges docker-compose dto jest lexikjwt php8 phpunit scss single-page-application spa symfony6 typescript vue-test-utils vue3 webpack-encore
Last synced: about 1 month ago
JSON representation
💲 Demo cryptocurrencies exchange single page application made with Symfony 6 and Vue 3
- Host: GitHub
- URL: https://github.com/maciekiwaniuk/demo-crypto-exchange
- Owner: maciekiwaniuk
- Created: 2022-11-02T21:55:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-24T10:51:03.000Z (over 1 year ago)
- Last Synced: 2025-02-05T11:45:07.578Z (3 months ago)
- Topics: authentication, cryptocurrency-exchanges, docker-compose, dto, jest, lexikjwt, php8, phpunit, scss, single-page-application, spa, symfony6, typescript, vue-test-utils, vue3, webpack-encore
- Language: PHP
- Homepage:
- Size: 637 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demo crypto exchange - development stopped due to lack of time
> ### Project of the single page application demo cryptocurrencies exchange
- Backend is made in Symfony 6.
- Frontend is made in Vue 3 using Composition API with TypeScript.# Commands
To successfully install you need to have installed docker.
Open folder where you want to have project files, open console and then clone the repository
git clone https://github.com/maciekiwaniuk/demo-crypto-exchange
Change folder in console to created folder with project filescd demo-crypto-exchange
Run docker
docker-compose up -d
Copy environment file
docker-compose exec php cp .env.dist .env
Run composer install
docker-compose exec php composer install
Run npm installdocker-compose exec php npm install
Run npm run dev command to compile js filesdocker-compose exec php npm run dev
Generate the SSL keys
docker-compose exec php bin/console lexik:jwt:generate-keypair
Run the database migrations (**Set the database connection in .env before migrating**)
docker-compose exec php bin/console doctrine:migrations:migrate
Load fixtures
docker-compose exec php bin/console doctrine:fixtures:load --no-interaction
You can now access the server at http://localhost:80
# Testing
## Backend
Run tests
docker-compose exec php bin/phpunit
## Frontend
Run frontend unit tests
docker-compose exec php npm run test
Run E2E tests
npx cypress run