An open API service indexing awesome lists of open source software.

https://github.com/vinhlh/frontendmasters-crawler

A demo of a serverless crawler built on AWS Lambda (scheduled tasks) and store results in S3
https://github.com/vinhlh/frontendmasters-crawler

aws crawler lambda s3 serverless

Last synced: 8 months ago
JSON representation

A demo of a serverless crawler built on AWS Lambda (scheduled tasks) and store results in S3

Awesome Lists containing this project

README

          

# FrontendMasters Crawler

A serverless crawler built on AWS Lambda (scheduled tasks) and store results in S3.



## Usage
- Setup your infrastructure on AWS by `make apply`.

- Make your own event by copying `event.example.json` to `event.json` in `functions/fm_crawler/` and updating its content to yours.

- Install dependencies by running `yarn` in `functions/fm_crawler/`.

- Sync course list into S3 by `make upload`. This file works as a dead simple storage for storing course list, download state.

- Deploy by `apex deploy`.

- Invoke lambda function by `make run-lambda`.

## Development
In order to execute the crawler in dev environment, running `make run`.

## Player
You can use [fm-player](https://github.com/vinhlh/fm-player) to play the content stored in S3.

## Note
This project is just a demo for using serverless service. We encourage you guys to buy Frontend Masters's subscription instead.