Skip to content

9-1-pursuit/project-snack-a-log-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full Stack Application Pair Project

Snack-a-log

Create an app that allows users to log their favorite snacks. Add functionality that will enable users to see whether or not their snack is healthy based on a simple algorithm.

For this project, there are 45 features, points, functionalities to build. You are required to successfully reach a minimum of 32 points to pass this project.

Overview

Basic Instructions

  • Using the project-snack-a-log-frontend and project-snack-a-log-backend repos, create a full-stack web application by building the two applications and having them interact.
  • Use Express to build a complete CRUD back-end application that adheres to RESTful routes.
  • Deploy the applications separately so that anyone can see them online and the two online applications can interact.

Groups

  • You will be working in groups of 4 for this 4 day Sprint.
  • One person should create a Trello board and add all members to it
  • One person in the group should fork and clone the front end
  • One person in the group should fork and clone the backend
  • All group members should be added as collaborators to the repos
  • One possibility for approach to working could be to partner 2 people on the frontend and partner 2 people on the backend
  • It is up to you how you choose to work as a team

Question Asking

  • You will be given 4 tokens. These tokens represent the number of debugging questions per team you are allowed to ask an instructor during this complete sprint. (clarifying questions about the instructions are not included)

Front-end User Stories and Acceptance Criteria

Click here for Back-end Instructions

Suggestion: It might be a good idea if you begin with the Back-end setup) and then move on to the front-end, at least for planning.

  1. It Can load the index page and has navigation to the New page
  2. Has a list of snack cards that are coming from the back-end seed data
  3. Has a link to each snack's show page
  4. Has a solid heart, if the snack is healthy
  5. Has a heart outline; if the snack is unhealthy
  6. Has good CSS design that shows at minimum a good faith effort
  7. Show page
  8. Shows header text
  9. Can navigate to the New page
  10. Snack has correct information displayed
  11. Contains action/navigation buttons
  12. New page
  13. Shows the header text
  14. Has a form with the correct labels and fields
  15. Can create a snack and then redirects back to the index page
  16. Edit page
  17. Has a form with the correct labels and fields
  18. Data is pre-filled into the form
  19. Can update a snack and then redirects back to the index page
  20. Delete button
  21. Can delete a snack using the app

Deployment

  1. Front-end hosted and accessible online

Presentation

  1. You will present as a group your application to the class. Each team member must participate

Point Structure

Total Frontend: 23 points
Total Backend: 21 points
Presentation: 1 point Grand total: 45 points

Note: There are no front-end tests; your hosted application's functionality and code quality will be used to evaluate you.

Getting Started

  1. Navigate to your directory called project-snack-a-log.
  2. cd into the directory.
  3. Fork and clone the project-snack-a-log-front-end repo into your project-snack-a-log directory.
  4. Change the name of your project-snack-a-log-front-end directory to front-end.

Note: Your back-end directory should be adjacent to your front-end directory. Both should be their own git repositories. The top-level project-snack-a-log folder should NOT be a git repository.

Front-end setup

It would be best if you opened a new terminal tab dedicated to running and developing your front-end.

  • cd front-end
  • touch .env

.env

REACT_APP_API_URL=http://localhost:3333
  • npm install - install npm packages listed in package.json.
  • npm start - make sure your React app can start

Screenshots

These lightly styled views are to help clarify the project requirements. It would be best if you spent some time styling your app, but you are not required to mimic the style shown below.

Index page

Index page

Show page

Show page

New page

New page

Edit page

Edit Page

Resources

Use the resources below to deploy your application.

Front-end Deployment

  1. Netlify Deployment Instructions
  2. Netlify Deployment Video
  3. Snack-A-Log Video-Demo
  4. Back-end Instructions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •