https://github.com/lperezp/angular-upload-file-aws
A simple example of how to upload files to an Amazon Web Services S3 service with Angular and TailwindCSS.
https://github.com/lperezp/angular-upload-file-aws
Last synced: 3 months ago
JSON representation
A simple example of how to upload files to an Amazon Web Services S3 service with Angular and TailwindCSS.
- Host: GitHub
- URL: https://github.com/lperezp/angular-upload-file-aws
- Owner: lperezp
- Created: 2019-10-14T07:48:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-02T01:47:22.000Z (over 2 years ago)
- Last Synced: 2025-03-07T16:54:25.777Z (3 months ago)
- Language: TypeScript
- Size: 2.11 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Upload-File-AWS

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.3.6.
## Dependences
* aws-amplify-angular
`npm install aws-amplify aws-amplify-angular`* sdk-aws
`npm install aws-sdk`## Config
Add these lines of code in the `polyfills.ts` file.
~~~
(window as any).global = window;
(window as any).process = {
env: { DEBUG: undefined },
};
~~~Add these lines of code in the `tsconfig.app.json` file.
~~~
"compilerOptions": {
"types": ["node"]
}
~~~## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
## Source
Revisar esta [guía](https://grokonez.com/aws/angular-4-amazon-s3-example-how-to-upload-file-to-s3-bucket)