Build Status Maintainability Test Coverage

Makers Academy - Week 11/12 Team programming challenge

PostBox

Technologies: Rails, React, Rspec, HTML, CSS, TravisCI, CodeClimate

Task | Collaborators | Installation Instructions | Mockup |

Production code is generally built by a team of developers. It is important that you leave Makers with the skills needed to work in a team, and this is the primary reason that project weeks exist in the curriculum.

The final projects also provide a safe environment for you to be creative and enjoy exploring new directions with your code.

How to get this project locally:

  1. Fork this repository, clone to your local machine then change into the directory:
$ git clone https://github.com/Kefuri/MakersPostBox.git
$ cd MakersPostBox
  1. Load dependencies with bundle:
$ gem install bundle
$ bundle
  1. Access to the database is controlled by an ORM, ActiveRecord. ActiveRecord rake tasks will are used to migrate the development and test databases.

To migrate the development and test databases, please run the following command:

$ rail db:create
  1. To poplulate the databases with the appropriate tables, run the following migrations and seeds to add in premade gift packages:
$ rails db:migrate
$ rails db:seed
  1. Run the app on a local server:
$ rails s

To view the app navigate to: http://localhost:3000/

  1. Tests were written with RSpec. To run the tests in terminal:
$ cd MakersPostBox
$ rspec