Code Monkey home page Code Monkey logo

serverful-webapp's Introduction

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

serverful-webapp's People

Contributors

luistar avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

core116

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.