We are part of a startup that is going to offer encrypted shared documents on the web.
Our CEO has investores who want to see what we've got next week.
We want to get an MVP on the web in a week!
Our MVP will allow users to store notes on the web- no sharing, no encryption.
- React Front End served on Azure Blob Static Site
- B2C for Identity and PII
- APIM for authorization
- Azure Functions App as middle ware API
- Cosmos DB for PHI
- Self service- sign up, sign in, password requirements
- Users must agree to T&C
- We must captre users' age, name, email, password
- Descent UI (bootstrap is fine)
- Support Live, and Google sign ups,
- App requires sign in
- App displays user name
- App displays notes user has access to
- App allows users to edit notes
ADB2C - will handle all the identity stuff storage account - will store static assets App service - will run our SPA Function - will act as an intermediary to cosmos Cosmos - will store our notes
Ok enough of that- let's get started.
- Setup Sign In, Sign Up (2 hours) At the end of this sprint we'll enable self-service user registration and sign in
- App (2 hour) At the end of this sprint we'll have a front end that runs the sign in in a nice flow
- APIs (2 hours) At the end of this sprint we'll have a REST-ish API that CRUDs notes in Cosmos
- Integrate App and API (1 hour) At the end of this sprint our front end app will CRUD notes in cosmos!
- Add T&C (2 hours) At the end of this sprint our app users will also agree to t&c
- UI/UX (2 hours) At the end of this sprint our app will look good enough
- Setup Live and Facebook At the end of this sprint our users can use their Live and Facebook IDs to login
- Create a B2C tenant
- Create a user attribute for email, and dateofbirth
- Create a sign in / sign up user flow
- Run "test flow".
- npm create-react-app
- Create a notes component
- npm install msal
- create react app id in adb2c
- setup sign in
- Deploy to app service
- Visual Studio Project
- Create binding to cosmos
- Create CRUD methods
- Validate JWT
- Deploy to Functions
- Create APP ID for Function
- Create scope
- Update app
- Update CORS on functions BOOM we have an MVP!
- Create custom policy
- Update app
What we haven't done: our app really should validate jwt
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.