- Install Symfony CLI:
wget https://get.symfony.com/cli/installer -O - | bash
- Run
echo 'CREATE DATABASE symfony-5-microapi /*!40100 DEFAULT CHARACTER SET utf8 */' | mysql -u root -p - Run
composer install - Change DB's root password in .ENV file accordingly.
- Run
bin/console doctrine:migrations:migrate - Run
symfony server:start - Hit endpoints at
localhost:8000with your preferred API tester (Postman, Insomnia, etc) - Endpoints:
/get_ford_cars(GET)/create_user(POST)/delete_user/{id}(DELETE)/get_users(GET)
-
Notifications
You must be signed in to change notification settings - Fork 1
lecom86/symfony5-microapi
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
A little API made using Symfony 5 framework as a CHALLENGE for IbisDev
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published