Giter Club home page Giter Club logo

daily-targum-website's Introduction

The Daily Targum App - Banner

GitHub release (latest by date) GitHub


The Daily Targum is a student-written and student-managed, non-profit incorporated newspaper published by the Targum Publishing Company, with a circulation of 5,000.

Founded in 1869, The Daily Targum is the second oldest and among the largest college newspapers in the nation. The Daily Targum has been a repeat recipient of the Columbia Scholastic Press Association Gold Crown Award, the highest recognition a college newspaper can be awarded in the United States.

IMPORTANT NOTE: This app is open source, but it requires API keys to run. For now, these keys are only for internal use within the company.

๐Ÿš€ Getting started

  1. Download and setup repo (directions)

  2. Start bundler

    yarn start
  3. Open in the brower

    The default port is 3000. You can test the website locally by going to http://localhost:3000

  4. (optional but recommended)

    Make sure your IDE/text editor supports TypeScript to catch errors as you go. Type check will be run locally using pre-commit hook and again remotely using GitHub Actions.

๐Ÿ“ฆ Download and Setup

  1. Clone repo

  2. Install dependencies

    yarn
  3. Add environment variables (more info below)

    # This file must be called .env NOT .env.local
    cp .env.example .env
    
    # Open .env and set varabiles

    Set the correct values for all variables in .env.

โœ Contributing

feat: add hat wobble
^--^  ^------------^
|     |
|     +-> Summary in present tense.
|
+-------> Type: chore, docs, feat, fix, refactor, style, or test.

โœ… Testing

  • Lint code (checks if rules of hooks have been broken)

    yarn lint
  • Check for TypeScript errors

    yarn typescript
  • Jest tests

    yarn test

๐Ÿ’ป Environment Variables

Setup

# This file must be called .env NOT .env.local
cp .env.example .env

# Open .env and set varabiles

The following environment variables are required.

# .env.example

# AWS AppSync Config 
AWS_APPSYNC_URL=
AWS_APPSYNC_REGION=
AWS_APPSYNC_API_KEY=

# AWS Elasticsearch
AWS_ELASTICSEARCH_URL=

# Contentful
CONTENTFUL_SPACE=
CONTENTFUL_ACCESS_TOKEN_DRAFTS=

Adding environment variables requires changing the following files:

  • This repo
    • .env.example
    • .github/workflows/*
  • Local
    • .env (on your local machine)

Files responsible for configuring environment variables are commented ENVIRONMENT VARIABLES so you can easily be found.

daily-targum-website's People

Contributors

christianjuth avatar auddin431 avatar nikhilm21 avatar aarif-razak avatar wagletanvi avatar parrthh avatar

Stargazers

Damian avatar Clophy avatar Vince Fulco--Bighire.tools avatar  avatar Skyler C avatar Ryan Morey avatar Bhargav Tarpara avatar  avatar

Watchers

James Cloos avatar Alexey Pyltsyn avatar  avatar Madhu Babu avatar  avatar

daily-targum-website's Issues

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.