A convenient administration dashboard that makes viewing, uploading, and editing the AMII's assets.
Whenever you make any changes to any of the assets, a Sync Changes
button will appear in the bottom right-hand corner of the application.
The application works by keeping thing cached locally.
If you where to refresh your browser before syncing your changes, you will lose any changes not synced to the appropriate bucket.
That being said, you are free to navigate to other areas of the application using the navigation side bar. Such as if you need to add a new waifu definition, after you have dropped in a bunch of new assets.
Roles
Any authenticated user has the ability to view all the assets available!
However, only users in the Admin
group have the ability to create, update, and delete assets.
At the moment you have the ability to:
Asset categorization enables us to define and group Waifu by the anime they appear in. If you want to tag a waifu in an asset, you'll have to create her definition inside the anime she appears in.
Editing an asset allows you to:
- Define character tags.
- What kind of asset categories it belongs to
- Add/update/remove any related assets
- Add/Update the image alt.
You will not be able to change the image path after an asset has been uploaded.
React Notes
This project was bootstrapped with Create React App.
In the project directory, you can run:
This will install of the applications dependencies defined in the package.json
at the root of this repository.
You will need to run this after cloning the project.
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
This application uses the AWS Amplify platform.
Any commits to master will be automatically built and deployed to production!
Handy commands
npm install -g @aws-amplify/cli
amplify pull
Note: this is only needed if any of the platform needs to be updated. It is not required to do local development.
Handy links
- https://docs.amplify.aws/lib/auth/social/q/platform/js
- https://aws.amazon.com/blogs/mobile/building-fine-grained-authorization-using-amazon-cognito-user-pools-groups/
- https://stackoverflow.com/questions/44043289/aws-invalid-identity-pool-configuration-check-assigned-iam-roles-for-this-poo
aws --endpoint-url=http://localhost:4566 s3 mb s3://demo-bucket aws --endpoint-url=http://localhost:4566 s3api put-bucket-acl --bucket demo-bucket --acl public-read