The Slowfood Challenge | Team 1

Authors

Emma-Maria Thalen
Kayla Woodbury
Karolina Frostare
Blake Erickson

Built with

Front End: React v.16.12.0 | CSS
Back End: Ruby 2.5.1 | Rails 6.0.2 Testing framework: Rspec Deployed at: Netlify and Heroku.

The code

This project is the backend API for our Slowfood application. The master repository for the Slowfood client side, built with React, can be found Here.

Getting started

Dependencies

  • Ruby
  • Rails
  • Rspec
  • Puma
  • Devise
  • Pry
  • Shouda-Matchers
  • Coveralls
  • Factory Bot
  • Bootsnap

Setup

To test this application, fork the repo to your own GitHub account and clone it to your local workspace.
*Note:*Be sure to set up the front end (noted above), in order to fully interact with the application. To install all of the dependencies:

$ bundle install 

To create a new database with sample data:

$ rails db:create db:migrate db:seed 

To run the unit tests:

$ rspec

To start the application and run it on your local host:

$ rails s

Updates/Improvements

  • Set up API functionality to allow user to finalize order
  • Set up API functionality to provide information about order
  • Set up functionality to allow resturant user to have distinct functionality from basic user, such as adding/updating/deleting menu, etc
  • Set up payment functionality instead of telling user to pay at store
  • Set up more user account information

License

MIT-license

Acknowledgement

  • Material provided by Craft Academy
  • Thomas Ochman for continued guidance throughout the order functionalities
  • Oliver Ochman for helping us understanding refactoring and how to utilize one module for multiple purposes