This is an example to use Angular version 6.1.2 to connect to a Symfony 4 application and make a simple POST request.
Prerequisites: NodeJS
git clone https://github.com/adeadedoja/dami-social-places-client.git
cd dami-social-places-client
npm install
edit /src/app/api.service.ts for the API URL to connect to
ng serve
The above will get you a copy of the project up and running on your local machine for development and testing purposes.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
This project is licensed under the MIT License - see the LICENSE.md file for details