Skip to content

A very simple demo app built as part of my talk on AWS. Powered by Symfony 4.

Notifications You must be signed in to change notification settings

luistar/serverful-webapp

Repository files navigation

serverful-webapp

A very simple demo app built as part of my talk on AWS. Powered by Symfony 4. The app is a website for the talk and consists of a homepage and a comment page where users can leave comments. The comments are saved on a mysql database. For a serverless version of this web app check out serverless-webapp.

Requirements

This web application requires

  • PHP >= 7.1.3
  • MySQL >= 5.7

Dev Dependencies

  • Node.js

Install

As usual, run composer install to install dependecies.

Update the /config/packages/database-config.php accordingly to you database configuration.

Insert you Google Maps API Key in config/services.yaml. If you skip this passage the map in the homepage won't work properly.

For webserver configuration see this page from the Symfony docs. The Symfony deployment guide also is very informative.

Dev guide

I provided a few useful npm script:

  • serve: run the development server
  • webpack-dev: run Webpack Encore in dev mode
  • webpack-prod: run Webpack Encore in production mode
  • drop-database, create-database, create-schema: self-explanatory shorthands for doctrine commands
  • create-source-bundle: creates a source bundle ready to be uploaded on Elastic Beanstalk

About

A very simple demo app built as part of my talk on AWS. Powered by Symfony 4.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published