serverless-survey-forms
serverless-survey-forms copied to clipboard
Features TODO List for R1
- [x] Add inline script in Vagrant to provision git and serverless framework
- [x] Add survey table in s-resources-cf.json
- [x] Add feedback table in s-resources-cf.json
- [x] Add user table in s-resources-cf.json
- [x] Allow Lambda default IAM role to access survey table
- [x] Add apiResponseTemplate in s-templates.json to handle HTTP status code
- [x] NPM install aws-sdk and node-uuid in subfolder 'api' for lambda functions
- [x] Define endpoints to access survey table
- [x] Implement lambda functions to access survey table
- [x] get one survey model
- [x] post a new survey model
- [x] update a survey model
- [x] delete a survey model
- [x] list all survey model
- [x] Define endpoints to access user table
- [x] get one account
- [x] post a new account
- [x] update an account
- [x] delete an account
- [x] list all accounts
- [x] Implement lambda functions to access user table
- [x] Define endpoint to do authentication
- [x] signin
- [x] callback
- [x] Implement lambda function to do authentication
- [x] signin
- [x] callback
- [x] authorize
- [x] Define endpoints to access feedback table
- [x] get one feedback model
- [x] post a new feedback model
- [x] update a feedback model
- [x] delete a feedback model
- [x] list all feedback model
- [x] Implement lambda functions to access feedback table
- [ ] Implement frontend interface
- [x] design view
- [x] fedback view
- [ ] statistic view
- [ ] admin view
- [ ] Integrate frontend interface with endpoints
- [x] survey endpoints
- [x] feedback endpoints
- [x] Apply Serverless Client to deploy and config a web client to S3
- [x] Apply CORS Cross-origin resource sharing
- [ ] Apply ESLint to lint JS before deployment
- [ ] Apply Prune to delete old version lambda