https://github.com/webong/laravel-group-saving-api
A sample laravel api for managing group saving
https://github.com/webong/laravel-group-saving-api
billing payments savings subscriptions
Last synced: about 2 months ago
JSON representation
A sample laravel api for managing group saving
- Host: GitHub
- URL: https://github.com/webong/laravel-group-saving-api
- Owner: webong
- Created: 2019-08-07T20:36:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T06:34:04.000Z (over 2 years ago)
- Last Synced: 2025-01-13T06:43:46.336Z (3 months ago)
- Topics: billing, payments, savings, subscriptions
- Language: PHP
- Size: 2.42 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ESUTE API
A demo application to illustrate how cooperative/group savings works.
## Installation
Clone the repo locally:
```sh
git clone https://github.com/webong/esute-api.git esuteapi
cd esuteapi
```Install PHP dependencies:
```sh
composer install
```Setup configuration:
```sh
cp .env.example .env
```Generate application key:
```sh
php artisan key:generate
```Create an SQLite database. You can also use another database (MySQL, Postgres), simply update your configuration accordingly.
```sh
touch database/database.sqlite
```Run database migrations:
```sh
php artisan migrate
```Run database seeder:
```sh
php artisan db:seed
```Start the app server:
```sh
php artisan server
```Start the Queue Worker:
```sh
php artisan queue:work
```You're ready to go! Visit Esute API Documentation on your local instance, [here](http://localhost:8000/docs/index.html):
Use Telescope on your local instance to monitor app activities like queues and mail locally, [Visit telscope here](http://localhost:8000/telescope):
## Running tests
To run the Esute API tests, run:
```
phpunit
```