https://github.com/omarmakled/symfony4-front-end
Symfony4 & Vue.js
https://github.com/omarmakled/symfony4-front-end
php7 rest-api symfony4 vuejs2
Last synced: 2 months ago
JSON representation
Symfony4 & Vue.js
- Host: GitHub
- URL: https://github.com/omarmakled/symfony4-front-end
- Owner: OmarMakled
- Created: 2019-01-14T09:42:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-14T10:57:21.000Z (over 7 years ago)
- Last Synced: 2025-02-26T12:14:45.267Z (over 1 year ago)
- Topics: php7, rest-api, symfony4, vuejs2
- Language: Vue
- Homepage:
- Size: 332 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# REST API Symfony4 & Vue.js

## APIS
| type | url | payload | description |
|--------|-----------------------------|----------------|------------------------|
| GET | /api/users | | get all users |
| POST | /api/users | {name: string} | add user |
| DELETE | /api/users/{id} | | delete user |
| GET | /api/groups | | get all groups |
| POST | /api/groups | {name: string} | add group |
| DELETE | /api/groups/{id} | | delete group |
| POST | /api/users/{id}/groups/{id} | | attach group to user |
| DELETE | /api/users/{id}/groups/{id} | | detach group from user |
## Project setup
```
git clone git@github.com:OmarMakled/symfony4-front-end.git
cd symfony4-front-end
npm install
set .env VUE_APP_API=
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
## See Also
[Symfony4](https://github.com/OmarMakled/symfony4-back-end)