Skip to content

The Shoebox Project is a non-profit company whose purpose is to provide professional photographs and memories for children in the foster care system.

Notifications You must be signed in to change notification settings

ValerieThoma/shoebox-project

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Logo name

The Shoebox Project is a non-profit company whose purpose is to provide professional photographs and memories for children in the foster care system.

URL

The Shoebox Project

Features

About

Home Page

Project Blog

Visiters to the site can read blogs written by administrators or volunteers.

Blog Home

Compose

All volunteers can author blogs but only the admin can approve them. Blogs can also be retroactively hidden.

Approve

Interactive Map

Hover over this interactive map to see how many children are in active foster care per county, or find the county you are looking for in the search bar.

Map

Volunteer Registration

Volunteer

Once a volunteer has registered, they will be contacted by the administrator. After both a phone interview and an in-person interview, the volunteer must submit to a comprehensive background check prior to being granted access to the volunteer login portal.

Submission

Pending

User Login and Home Page

The administrator creates a home page for each user/child. The user has input on the appearance of their home page. Currently there is one theme, but additional themes will be added. The user also selects a cover image for their photo album.

 Shyla

Shyla ShylaImg

 Henry

Henry HenryImg

 Logging in as Jackson

Volunteer Login and Home Page

VolunteerLogin

Once approved by the site admin, volunteer photographers are given a login.

The volunteer home page features links to:

  • upload a profile picture
  • sign into Google Calander
    • view upcoming photo shoots
    • update availability
  • compose a blog post

ProfileImg

ProfileHome

Admin Dashboard

Admin

Admins of site have all the same features as volunteers with levels 1 and 2 access.
In addition, admins have level 3 access:

  • review blog posts
  • view and edit volunteer profiles:
    • approve volunteers
    • assign permissions
    • leave notes
  • view and edit user information:
    • upload photos
    • view photos
    • leave notes

Contact

Want to get involved? Contact us.

Contact
placeholder contact information given

FAQ

We know you have questions.

FAQ

Tests

Everybody loves tests, right?!?! ๐Ÿ™„

1) Test your login through the UI

LoginRunner

// cy.visit(before each test)

describe("Loggin in", () => {
  beforeEach(() => {
    cy.visit("/") //set baseUrl to localhost:3001
  });
  

LoginTest

     
  // login in with an authenticated user   
  context("logs in as family member", () => {
    it("logs in with correct credentials", () => {
      cy.get("[data-cy=familyLogin]")
        .click({force:true})

      cy.get("[data-cy=userEmail]")
        .type("shyla@mail.com")

      cy.get("[data-cy=userPass")
        .type("shyla")
      
      cy.get("[data-cy=userSubmit]")
        .click()  

      cy.location("pathname").should("eq", "/users/home")  

  });
     
    // check validations
    it("logs in with incorrect credentials", () => {
      cy.get("[data-cy=familyLogin]")
        .click({ force: true })

      cy.get("[data-cy=userEmail]")
        .type("shyla@mail.com")

      cy.get("[data-cy=userPass")
        .type("wrongpassword")

      cy.get("[data-cy=userSubmit]")
        .click()

      // sweet alert tells user they have entered the wrong password  
      cy.get(".swal-modal")
        .should('exist')
      
      cy.get(".swal-title")
        .should("contain", "Your password is incorrect")

      // after entering wrong password, the user remains on the login page
      cy.location("pathname").should("eq", "/users/login")  
    });

  });

Keep your tests reliable with data-cy attributes instead of coupling them with class names that may change during production.

Screenshots

 Mobile View

Homepage

 Early Planning

Flowchart

 Wire Frames

Mobile

Landing

Authors

  • Eddie Atkinson Scrum Master|Route Layer|Data Wrangler|Map Magician|Developer
  • Valerie Jane Thoma Route Layer|Designer|Class Clown|Developer
  • Amir Patel Route Layer|Mobile Responsive Resuscitator|New Kid on the Block|Developer

Technologies used

Languages:

  • JavaScript
  • HTML5
  • CSS

Frameworks and Libraries:

  • Express
  • Node.js
  • jQuery
  • Bootstrap

Other:

  • MySQL
  • AWS S3
  • Google Maps API
  • Multer
  • Multer S3
  • Bcrypt
  • Adobe XD - wireframe

All updated changes to Shoebox Project will be hosted at

The Shoebox Project c/o Eddie and Crystal Atkinson, founders and operators of Ella B. Phtography & The Shoebox Project

Project Created

10/18/2017

Improvements

  • Donate link to accept Stripe payments ๐Ÿ˜‡
  • ๐Ÿ‘ฉ๐Ÿฝโ€๐Ÿ”ฌMore UI and API tests with Cypress
  • UI updates coming soon ๐ŸŽ€

About

The Shoebox Project is a non-profit company whose purpose is to provide professional photographs and memories for children in the foster care system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 61.2%
  • HTML 29.8%
  • CSS 9.0%