Skip to content

Latest commit

 

History

History
100 lines (67 loc) · 1.79 KB

README.md

File metadata and controls

100 lines (67 loc) · 1.79 KB

Pandemonica portrait

Pandemonica


Pandemonica is an API server for a simple ToDo application.


test workflow

Name

Pandemonica is the name of the customer service representative in Hell.

Run

Clone the repo

git clone https://ExploitRS/Pandemonica

And move to the root directory of Pandemonica

cd Pandemonica

Copy the .env.example file to .env

cp .env.example .env

Install dependencies

composer i

To run the server

./vendor/bin/sail up

Note

After starting the server with sail, it is necessary to prepare the DB.

./vendor/bin/sail artisan migrate

Development

Test

To run the tests

./vendor/bin/sail artisan test

To run tests for a specific feature

// Run tests for the Tasks feature
./vendor/bin/sail artisan test --filter TasksTest

// Run tests for the Categories feature
./vendor/bin/sail artisan test --filter CategoriesTest

Postman test

Before running tests in Postman, the database must be seeded

./vendor/bin/sail artisan db:seed

API endpoints

To display the valid API endpoints

./vendor/bin/sail artisan route:list -v

References

License

MIT