SPA build with serverless stack framework. Client side build with Vue and NuxtJS. Backend is Api Gateway + Lambda + DynamoDb + Cloudfront.
More details on the blog slawomirstec.com
This project includes defaults for domain: awws.ws, change it to your own.
-
Create new Route53 hosted zone with name: awss.ws
Change name server for your domain to point to the new zone nameserver.
This is required for domains registered with other provider than AWS.
-
Copy template.env to .env file. Exclude it from git. Fill all values.
Create developer applications for facebook and google, copy client and secret ids to env files.
For example Facebook setup values:
App Domains
api.awss.ws
api.awss.ws/v1
Website -> Valid OAuth Redirect URIs
https://api.awss.ws/v1/authenticate/oauth-step1
Update constants.js for frontend app.
Start by installing the dependencies.
```bash
$ yarn install
$ yarn deploy --stage prod
$ yarn start
$ yarn test
$ yarn integ-test
$ cd frontend
$ yarn install
$ yarn run dev