Giter Site home page Giter Site logo

korsisoft / community-newsletter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codefiction/community-newsletter

0.0 1.0 0.0 433 KB

Codefiction Newsletter Project

Home Page: https://newsletter.codefiction.tech

JavaScript 25.33% HCL 53.36% Shell 2.02% CSS 6.84% HTML 2.01% TypeScript 10.44%

community-newsletter's Introduction

CodeFiction Community Newsletter

This project meant to fetch all slack messages with links shared in various Codefiction community slack channels and display them in an order based on their engagements by the Codefiction Community.

As a next step, the messages collected from the channels will be shared as an email newsletter.

How to run the project

This repository contains the user interface of https://newsletter.codefiction.tech website as well as AWS Lambda functions and the API.

Dependencies

In order to deploy the project in your own AWS account, you need to install hashicorp terraform and need to have the valid AWS credentials installed in your environment.

Also since this application is built in NodeJs you might also need to install the latest version of NodeJs as a runtime environment.

Building the AWS Infrastructure

All the infrastructure code is under the /terraform/environments/production folder. We are keeping the terraform state remotely in a S3 bucket as stated in the backend.tf therefore you need to create that bucket or an equivalent in your own AWS account in order to initialise the terraform environment.

After creating the remote state s3 bucket you need to run the ./build.sh command to install the resources required for this project. This will spin up the resources listed in /terraform/environments/production folder.

Running the application

If you want to test the NodeJs server you need to create a new .env with the following variables.

SLACK_BOT_TOKEN=....
CHANNEL_ID=....
S3_ACCESS_KEY=....
S3_SECRET_ACCESS_KEY=....
S3_BUCKET=....

After having the .env file or the environment variables in place you can run npm start to kickstart the API application.

community-newsletter's People

Contributors

msusur avatar gungoren avatar sonercirit avatar mustaphaturhan avatar 0xk4d1r avatar brkn avatar theykk avatar blind-striker avatar ozgurg avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.