This project is a starter to deploy serverless application to the Internet.
It contains :
- A backend Api on top of Symfony and Api Platform
- A static Frontend with Gatsby and Bootstrap
- Simple blog with tags and contributor
- Documentation page generated from markdown files
- Changelog contribution page with Github tags
- Registration and Login pages with Logged Settings page.
- Github and Facebook OAuth
- 3 themes : light, dark, sepia
- Contact section with Amazon Simple Email Service
- An AWS deployment with Serverless framework
- Two staging deployment
preprod
andprod
preprod
staging Frontend is preprod.serverless-starter.com and Api at preprod-api.serverless-starter.comprod
staging Frontend is serverless-starter.com and Api at api.serverless-starter.com
- Two staging deployment
You can use this starter for your own need.
- Run the Api
- go to ./packages/api
make docker-run
to start MySQL servicemake first-install
to install dependencies and populate databasemake run
to start symfony local server
- Run the Frontend
- go to ./packages/front
make dev
to start gatsby local server
- Deploy to
preprod
- go to ./packages/deploy
- configure
.env.api.preprod
and.env.front.preprod
files STAGE=preprod make deploy
- Deploy to
prod
- go to ./packages/deploy
- configure
.env.api.prod
and.env.front.prod
files STAGE=prod make deploy
All contributions are welcome to improve this starter