This web application was built for our guests to easily access wedding info, RSVP, and set certain preferences. The site was originally available at our domain, daneandsarahwedding.com, but is no longer active. The static content can be found on my personal website here. The application uses the Serverless framework to host the Angular frontend and Node.js backend in AWS with a PostgreSQL database in RDS. Please review the run.sh script for helpful commands, including dependency installation, database initialization, local development, linting, testing, and stage/production deployment.
The project has four configuration files for setting environment variables used in local development as well as the stage/production environments. The files include default.conf for variables used in every environment as well as dev/stage/prod.conf files for variables specific to the local development, stage, and production environments respectively.
- Node.js
- Global Node module concurrently:
npm install -g concurrently
- Frontend and backend Node modules:
./run.sh install-dependencies
- Retrieve default.conf and dev.conf configuration files and place in keys directory
- Start local development:
./run.sh start-dev
- Retrieve default.conf as well as stage.conf and/or prod.conf configuration files and place in keys directory
- Deploy to given environment:
./run.sh deploy ENV
whereENV
is stage or prod