In response: For a back-end API, I can recommend NestJS <https://nestjs.com/>. It's an MVC framework written for NodeJS in Typescript, that utilizes a lot of the conventions from Angular. (I think it may be from the Angular team - but you can't quote me on that). For the CORS issue - you will have to enable CORS on the S3 bucket: S3 - CORS <https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html>
On Tuesday, November 10, 2020 at 7:32:40 AM UTC-5 [email protected] wrote: > Hello, > I got in issue in cors policy. > Problem 1: CORS extension is enable in chrome browser so this website > working correctly but if I disable CORS extension so get error in console > window. > Access to XMLHttpRequest at > 'https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest' > from origin 'http://localhost:4200' has been blocked by CORS policy: No > 'Access-Control-Allow-Origin' header is present on the requested resource. > > Problem 2: How to enable CORS in AWS S3 bucket because I also getting > error in AWS S3 bucket? > Access to XMLHttpRequest at ' > https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest' from > origin 'http://cryptocurrency-app.s3-website.ap-south-1.amazonaws.com' > has been blocked by CORS policy: Response to preflight request doesn't pass > access control check: No 'Access-Control-Allow-Origin' header is present on > the requested resource. > > I also shared a snapshot of CORS extension which is enable for handling > CORS Issue. > Attachments area > > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/angular/a2980746-e7ad-4283-93ad-ae430303796en%40googlegroups.com.
