Building Symfony REST API.
- Docker
- Docker Compose
Start PHP, Nginx, and Postgres database.
docker compose build
docker compose up -d
Run the application
docker compose exec php bash
# Run the following commands inside the PHP container:
# Install dependencies
> composer install
# Create database schema
> php bin/console doctrine:schema:create
# Generate keys
> php bin/console lexik:jwt:generate-keypair
# Load initial data
> php bin/console doctrine:fixtures:load
Api Doc
http://localhost:8080/api/doc
Postman Samples (Auth/GET/POST/PUT) (import the collection and environment files in your postman app)
postmanAaxisTest.postman_collection.json
postman/AaxisTest.postman_environment.json