Skip to content

pre-kinder/back-end

Repository files navigation

Contributors Issues Stargazers Forks Build Badge



An app that makes Pre-K organizing -- child's play.


Contributors

Jacq Whitmer Dane Brophy Isika Powers Ezzedine Alwafai Kevin Nguyen

Table of Contents

Links
Tools Used
Setup
Learning Goals
Database Schema
Wireframes

Tools Used

Development Development Testing Deployment

Setup

This project requires Ruby 2.7.2.

  • Fork this repository
  • From the command line, install gems and set up your DB:
    • bundle install && bundle update
    • rails db:{create,migrate,seed}
  • Run the test suite with bundle exec rspec -fd
  • Run your development server with rails s to see the app in action.

Project Configurations

  • Ruby version

    $ ruby -v
    ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-darwin20]
  • System dependencies

    $ rails -v
    Rails 5.2.6
  • Database creation

    $ rails db:{drop,create,migrate,seed}
    Created database 'back-end_development'
    Created database 'back-end_test'
    $ bundle install
  • API key configuration

    $ bundle exec figaro install

    Add your credentials & API keys to config/application.yml:

    #Backend Repo:
    1st API: go to [Weather API](https://www.weatherapi.com/signup.aspx) to request an API key<br>
    2nd API: at [Nager.Date API](https://date.nager.at/), no key needed<br>
    
    key: '<your api key>'
  • How to run the test suite

    $ bundle exec rspec -fd
  • Local Deployment, for testing

    $ rails s
    => Booting Puma
    => Rails 5.2.6 application starting in development
    => Run `rails server -h` for more startup options
    Puma starting in single mode...
    * Version 3.12.6 (ruby 2.7.2-p137)
    * Min threads: 5, max threads: 5
    * Environment: development
    * Listening on tcp://localhost:3000
    Use Ctrl-C to stop
  • Heroku Deployment, for production

Learning Goals

    ⭐     Consume two or more external APIs which require authentication
    ⭐     Build APIs that return JSON responses
    ⭐     Use an external OAuth provider to authenticate users
    ⭐     Create a project with a separate frontend and backend
    ⭐     Organize and refactor code to be more maintainable
    ⭐     Implement a self-referential relationship in ActiveRecord
    ⭐     Use Rails to create web pages that allow users to CRUD resources
    ⭐     Create instance and class methods on a Rails model that use ActiveRecord methods and helpers
    ⭐     Write model and feature tests that fully cover data logic and potential user behavior
    ⭐     Utilize Continuous Integration via Travis CI or CircleCI
    ⭐     Deploy to Heroku
    ⭐     Implement a production-quality user interface using Bootstrap or other common CSS styling framework
    ⭐     Implement project management by using project boards, participating in daily stand-ups and retros
    ⭐     Utilize quality workflow practices: small commits, descriptive pull requests, and code reviews
    ⭐     Write thorough, understandable documentation
    ⭐     Apply RuboCop’s style guide for code quality

Database Schema

API Endpoints

Find the endpoints for PreKinder here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors