Skip to content

Symfony4 sample app. It creates a new record, view old records, has an API endpoint that allows for the creation of a new record. And it also sends mails to recipients and a pre-defined admin email.

Notifications You must be signed in to change notification settings

adeadedoja/dami-social-places-server

Repository files navigation

SocialPlaces Server

Symfony 4 Contacts example app with RESTFUL API

Features

  1. User can add new contacts
  2. Users can view contact list
  3. API accepts new contact

Getting Started

  1. git clone https://github.com/adeadedoja/dami-social-places-server.git
  2. cd dami-social-places-server
  3. composer install
  4. php bin/console doctrine:migrations:migrate
  5. create a new database
  6. set up env variables
  7. php bin/console server:run
  8. npm install to install dependencies
  9. run 'gulp default'

The above will get you a copy of the project up and running on your local machine for development and testing purposes.

Dependencies

  1. [MYSQL]
  2. [PHP]
  3. [Gulp]

API Endpoints

EndPoint Functionality
POST /api/contact/store Store a new contact

Responses

The API responds with JSON data by default.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Symfony4 sample app. It creates a new record, view old records, has an API endpoint that allows for the creation of a new record. And it also sends mails to recipients and a pre-defined admin email.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published