Skip to content

A Morning Brew-inspired simple content management system that allows writers to create stories, attach stories to a particular newsletter, and ultimately "publish" the newsletter to an API.

Notifications You must be signed in to change notification settings

sikkgit/afternoon-roast-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Afternoon Roast Backend

Video Demo

A Morning Brew-inspired simple content management system that allows writers to create stories, attach stories to a particular newsletter, and ultimately "publish" the newsletter to an API.

Link to Frontend

Getting Started

  1. Install Homebrew

    $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

  2. Install Ruby

    $ brew install ruby

  3. Install Rails

    $ gem install rails

  4. Install PostgreSQL

    $ brew install postgresql

Downloading This Project

  1. Clone the repo and cd into the folder

  2. Bundle Install

    $ bundle install

  3. Create migrations, migrate and seed:

    $ rails db:create
    $ rails db:migrate
    
  4. Obtain Lyra API key and include in .env in the following format:

export LYRA_API_KEY=<YOUR API KEY HERE>
  1. Last step, launch the rails server!

    $ rails s -p 4000

About

A Morning Brew-inspired simple content management system that allows writers to create stories, attach stories to a particular newsletter, and ultimately "publish" the newsletter to an API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published