Coder Social home page Coder Social logo

oneboardingone's Introduction

OneboardingOne

Codacy Badge
Link for the backlog on Trello: https://trello.com/b/raJCNe30

Context

Order:

  • Install Symfony 4, and create a “Contact Form” page there
  • Request inputs (last name, first name, email, message) using a Symfony Form and to branch, and save this information each time you send it
  • Submit in this form, a drop-down list proposing the departments of the company (Management, rh, com, dev, ...), previously registered in the database data via a Fixture class
  • Each time the contact form is submitted, generate an email containing the information, and send this email to the manager of the chosen department
  • Put the code on a Github repository

Installation

Prerequisites

  • PHP 7.1 min.
  • Knowing how to use Symfony 4 and this libraries.
  • MySQL 8.0.

Recover the Application

Clone app URL at the top right. In the root folder right click the mouse and then press git bash (or equivalent software). Open software write git clone <url cloned>. The application is download.

Download libraries via composer

Go to the root folder of the site. In the root folder right click the mouse and then press git bash (or equivalent software). Open software write composer install . The libraries will be installed automatically in a vendor folder.

Use

Creation of the database

Now that your connection parameters are setup, Doctrine can create the db_name database for you:

php bin/console doctrine:database:create

A migration file already exists, you just have to write the command below and validate.

php bin/console doctrine:migrations:migrate

The database is ready.

Fixture

The fixture data is created in the AppFixture file, save in the DataFixture folder. For save the data in the Bdd, validate the commande below

php bin/console doctrine:fixtures:load

The data is saved.

Mailer

Be careful in the .env file, the basic configuration and a fictitious smtp for local use with software recovering all messages passing through the requested port. Example of "Papercut" software.

oneboardingone's People

Contributors

michaelgtfr avatar

Watchers

Louis-Arnaud avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.