https://github.com/sasani72/cdn-challenge
A system with wallet and voucher services
https://github.com/sasani72/cdn-challenge
jobs laravel mysql queues race-condition-prevention services tdd
Last synced: 4 months ago
JSON representation
A system with wallet and voucher services
- Host: GitHub
- URL: https://github.com/sasani72/cdn-challenge
- Owner: sasani72
- Created: 2023-10-09T07:46:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-14T19:02:29.000Z (almost 2 years ago)
- Last Synced: 2025-06-06T03:35:56.282Z (4 months ago)
- Topics: jobs, laravel, mysql, queues, race-condition-prevention, services, tdd
- Language: PHP
- Homepage:
- Size: 102 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CDN Code Challenge
Implementing a system with Wallet and Voucher services.
Postman collection with all the methods and example responses can be found in [HERE](https://github.com/sasani72/cdn-challenge/blob/main/docs/cdn-collection.postman_collection.json)
## Running the application
1. Clone this repository
```bash
git clone https://github.com/sasani72/cdn-challenge.git
```
2. Install packages with composer (Make sure composer is installed already)```bash
composer install
```3. Make a copy of .env.example as .env
```bash
cp .env.example .env
```4. Run migration and seed the database
```bash
php artisan migrate
php artisan db:seed
```## Run Tests
Run application tests
```bash
php artisan test
```## License
Licensed under the [MIT license](https://opensource.org/licenses/MIT).