Skip to content

A simple API server for a ToDo application created for an internship technical assignment

License

Notifications You must be signed in to change notification settings

ExploitRS/Pandemonica

Repository files navigation

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

About

A simple API server for a ToDo application created for an internship technical assignment

Topics

Resources

License

Stars

Watchers

Forks