Skip to content

theodoremoreland/CheeseCatalog

Repository files navigation

Cheese Catalog

A web application for managing a catalog of cheeses.

This application was for an assignment at LaunchCode's Lc101 2018 (originally named Cheese MVC Persistent).

Table of contents

Technologies

  • Ruby
  • Ruby on Rails
  • Embedded Ruby (ERB)
  • HTML
  • CSS
  • Copilot (Images)

Overview

This application was originally an optional CRUD exercise for LaunchCode's LC101 (2018). It was originally built using Java, Spring Boot, Thymeleaf, and MySQL. The end result was an app that allowed users to create, edit, and delete cheese items, cheese categories, and cheese menus. I have since then rewrote the application to learn Ruby and Ruby on Rails. Currently, I managed to redesign the UI and implement some foundations in Ruby and Ruby on Rails, which I consider sufficient for the purposes of learning.

How to run locally

Ubuntu

Assumes Ruby is installed and you are located in the src folder of this project.

bundle config set path 'vendor/bundle'
bundle install

This will run a setup script for installing gems, setting up the database, setting up the environment(s), and start the server with hot reload.

 bin/setup

Start the server, specifically (no hot reload)

bin/rails server

Visit http://127.0.0.1:3000

Screenshots

Note to self

The folder structure of this repository is not ideal in that all of the application specific folders and files (including things like databases, configs, package data, etc) are at the root of the repository alongside other files and folders non essential to the software. Normally, I would place all application specific code in a subfolder such as src or application, but all of the Ruby and Rails tooling thus far assume said files are located at the root. For example, the .gitignore, .github, the Ruby LSP VS code extension, etc. I tried structuring things my own way, but found it wasn't worth the trouble. So for the time being everything is more-or-less at the root of this repo.

About

A web application for managing a cheese catalog. Built with Ruby on Rails and SQLite.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published