Serverless functions tweeting/sending/... random MDN articles
# clone the repo and get the source code
$ git clone [email protected]:random-mdn/random-mdn-serverless.git
# install dependencies
$ npm install
# that's it. :)
The project uses the Serverless Framework and currently includes one function to run every six hours.
The tweet function reads out the MDN sitemap, parses it and tweets the found article.
To run the function that powers the endpoint you can run npm run dev
inside of the project and it should execute the function locally.
It should look as follows:
$ npm run dev
To deploy and update the function npm run deploy
does the job. To do so you have to have the proper rights and @stefanjudis can provide these when needed.
If you would like to help ❤️ that would be awesome! You can find ideas and the current planning in the planning issue.
This project follows and enforece a Code of Conduct to make everybody feel welcomed and safe.