Skip to content

Carbon-Knight/carbon-knight-back-end

Repository files navigation

Carbon Knight Backend

Contributors Forks Stargazers Issues Build Status

Carbon Knight Backend

This is the Back End repository for the Carbon Knight application, which works in tandem with the Cloverly Microservice. The Microservice connects with the Cloverly API in order to return carbon footprint data, which the Back End then takes and compiles and feeds to the Front End.
Explore the docs »

· Report Bug · Request Feature

Table of Contents

About The Project

Please visit the Carbon Knight Front End repository and check out the readme there for a more in depth look at this project!

To view all the repositories associated with Carbon Knight, please visit Carbon Knight

Built With

Getting Started

To properly use this application you will need to set up and configure three repositories. Follow the Configuration directions in each repository to get Carbon Knight running locally! Alternatively, check out the production application here!!!

Configuration

Setting Up the Back-End

  1. Clone this repo git clone https://github.com/Carbon-Knight/carbon-knight-back-end.git

  2. Enter the directory it was cloned into cd carbon-knight-back-end

  3. Run bundle install to install gems and dependencies

  4. Run bundle exec rails db:{create,migrate} to set up the database and to run the migrations

  5. At this point, please visit Configuration Part II to get the full Carbon Knight Application up and running locally

Testing

RSpec was used for the testing of this project.

Carbon Knight Backend has been fully tested. To view the test coverage;

Once inside your terminal within the Carbon Knight Backend directory run the following command.

open coverage

This will open up a folder with an index.html file. Clicking on this file will show you a list of all the lines of code within this repository, and whether they have been tested or not.

Additionally, running bundle exec rspec will show you the quick summary of the test coverage in this application.

Both open coverage and bundle exec rspec work inside each repository of this application.

Roadmap

See Open Issues or visit our Project Board for a list of proposed features, known issues, and project extensions.

Contributing

Contributions are what make this community such an amazing and fun place to learn, grow, and create! Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch git checkout -b feature/NewGreatFeature
  3. Commit your Changes git commit -m 'Add some NewGreatFeature'
  4. Push to the Branch git push origin feature/NewGreatFeature
  5. Open a new Pull Request!

Schema

Screen Shot 2021-01-14 at 9 14 23 PM

Contact

Curtis Bartell        - LinkedIn - GitHub

Jonathan Wilson - LinkedIn - GitHub

Carson Jardine    - LinkedIn - GitHub

Eugene Theriault - LinkedIn - GitHub

Roberto Basulto  - LinkedIn - GitHub

James Belta         - LinkedIn - GitHub

Joshua Carey      - LinkedIn - GitHub

Kiera Allen           - LinkedIn - GitHub

Sean Steel           - LinkedIn - GitHub

Project Link: Carbon Knight

About

Backend repo for the Carbon Knight app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages