Welcome to the SPMS (Sample Project Management System) project! This README provides instructions for setting up and running the Laravel REST API backend. The frontend for this project was developed using the Vue 3.js framework.
https://github.com/garciagaston/Subscription-Platform-Management-System-BACKEND/wiki
- Clone the repository to your local machine:
git clone https://github.com/garciagaston/Subscription-Platform-Management-System-BACKEND.git
- Navigate to the project directory:
cd Subscription-Platform-Management-System-BACKEND
- Install Composer dependencies:
composer install
- Rename .env.example to .env:
mv .env.example .env
Update the .env file with your database and Redis information.
- Run database migrations:
php artisan migrate
- Run Laravel PINT:
./vendor/bin/pint
- Run PHPLINT:
./vendor/bin/phplint
- Run PHPSTAN:
./vendor/bin/phpstan analyse
```bash
php artisan l5-swagger:generate
```
Access the generated Swagger documentation at http://localhost:8000/api/documentation.
To run the unit tests, execute the following command:
bash php artisan test
To start the Laravel development server, run:
bash php artisan serve
You can now access the application in your web browser at http://localhost:8000.
Ensure that you have PHP, Composer, and other necessary dependencies installed on your system before proceeding with the installation. Make sure your web server is properly configured to serve a Laravel application if you're not using the built-in development server.
https://spms-back-c49dc9b00505.herokuapp.com/
https://spms-back-c49dc9b00505.herokuapp.com/api/documentation
https://spms-back-c49dc9b00505.herokuapp.com/telescope
```bash
heroku run php artisan migrate --path=database/migrations --app spms-back
```
```bash
email: [email protected] pass: password ```