Giter Club home page Giter Club logo

be-smart's Introduction

be S.M.A.R.T.

App screens

Introducing "be S.M.A.R.T.": Your app for setting and achieving goals with mindfulness and mental well-being as top priorities. Stay organized, focused, and balanced as you pursue your goals. Simplify your path to success with this powerful and intuitive tool, designed to be your smart companion for everyday tasks and long-term achievements.

The User can create, edit and delete goals and view mindful exercises to get inspired

App Preview

This app was my final project for the Web Development Bootcamp at neue Fische.


Deployment

You can have a look at the last update of be S.M.A.R.T. on Vercel: Demo Version
Note: The App is optimized for mobile screen.


Tech Stack


Project Setup

  • Clone this repository
  • Install all dependencies using npm install
  • Run app in development mode using npm run dev, and open http://localhost:3000/

Additional Info

This project was created from the neue fische next template.

You can ๐Ÿ”— use this template on CodeSandbox or locally by running this command in your Terminal:

npx -y ghcd@latest neuefische/web-exercises/tree/main/templates/next my-app -i

be-smart's People

Contributors

corneliusmoe avatar

Watchers

 avatar

be-smart's Issues

US6 Implement localStorage

Implement Local Storage

Value proposition

As a User
I want to be able to submit a form
So that I can see a new goal on the goal list page
I also want to be able to delete a goal
So that I don't see it on the goal list page, even after refreshing

Description

Image

Acceptance criteria

  • When clicking the submit button the form data should be validated and processed.
  • After submitting, the User should be redirected to the goal list page
  • The goal should be added to the data.js
  • After returning to the goal list page the goal should be visible
  • When refreshing the page the goal should still be there
  • On deleting a goal it should be erased from the data.js
  • After deletion it should stay deleted, even when refreshing the page

US10 Header

Refactor Header

Value proposition

As a User
I want to be able to see a header on every page
So that I can see what page I am currently visiting

Description

Image

Acceptance criteria

  • A header is visible on every page
  • The headline of the header should change, depending on the current page

US5 Form Submit Functionality

Form Functionality

Value proposition

As a User
I want to be able to submit a form
So that the a new goal is created

Description

Image

Acceptance criteria

  • When clicking the submit button the form data should be validated and processed.
  • A new goal should be created with the submitted data and added to the list of goals on the goal list page
  • After submitting, the User should be redirected to the goal list page
  • The goal shouldn't be visible as I will implement the localStorage capability in the next US

US3 - Delete a Goal

List of goals

Value proposition

As a User
I want to be able to delete a goal
So that I can remove it from my list of goals after i have completed it

Description

Image

Acceptance criteria

  • A button exists that is called "Delete"
  • On clicking the delete button a confirmation dialogue should appear
  • On cancel, the confirmation dialogue should close and the process should be cancelled
  • On confirm the Goal should be deleted
  • In the List of goals the deleted goal should be gone

Tasks

  • Create a feature branch
  • Create a ConfirmationDialog component
  • Integrate the ConfirmationDialog component in the GoalDetail page
  • Set up state using React's useState to manage the visibility of the confirmation dialog.
  • Implement the event handler for the "Delete" button that opens the confirmation dialog.
  • Implement a handleConfirmDelete function to perform the deletion action.
  • Implement a handleCancelDelete function to close the confirmation dialog.

US4 Form

List of goals

Value proposition

As a User
I want to be able to see a form with descriptions
So that I can fill in the different input fields

Description

Image
Image

Acceptance criteria

  • A header called create should exist
  • A Form with 6 Input fields and 6 labels should exist
  • Each of the input fields should have a description for the user
  • At the bottom of the form there should be a button called Submit
  • The button should have no function at this point

US14 Footer

Footer

Value proposition

As a User
I want to have footer on certain pages
So that I can have a better user experience

Description

Image

Acceptance criteria

  • Different Footer components exist (Formpage, GoalDetailpage,Editpage)
  • These Footers have different Icons, depending on their location
  • The Footer on the Formpage should have a Save Icon and a Back arrow
  • The Footer on the Goaldetailpage should have an Edit Icon, a Delete Icon and a Back arrow
  • The Footer on the Editpage should have a Cancel and a Save Icon
  • Clicking the Icons should call the linked functions

Tasks

  • Create a feature branch footer
  • create three footer components
  • import necessary SVGs
  • rewrite the existing functions for going back, editing,saving,deleting and cancelling

US9 Fetch quotes

Fetch Quotes

Value proposition

As a User
I want to be able to see a quote on the Homepage
So that I can get inspired

Description

Image

Acceptance criteria

  • A "quote of the day" is fetched from an API
  • The "quote of the day" is visible on the Homepage

US13 Form Styling/Refactoring

Form Styling/Refactoring

Value proposition

As a User
I want to be able to see a styled form
So that I can have a nice experience

Description

The current version of the Form is one page with 6 questions in their own fieldsets. I want to create a card that contains one question per card and style it.

Acceptance criteria

  • FormCard component exists
  • it is rendered for each question when creating a new goal or editing an existing goal
  • the styling fits the theme of the app

Tasks

  • Create a feature branch formstyling
  • create a FormCard component
  • render the component in every part of the app the form is present

US11 BurgerMenu

BurgerMenu

Value proposition

As a User
I want to be able to see a burger menu on every page with links to other pages
So that I can easily move through the app

Description

Image

Acceptance criteria

  • A header is visible on every page
  • Inside the header a burger menu exists
  • The burger menu has an animated icon so the three stripes become an X
  • Links to different sections of the app are rendered as a list in the burger menu
  • The Links direct the user to the different pages

US2 - Goal in Detail

Goal Details

Value proposition

As a User
I want to be able to view the details of a specific goal when I click on it in the list of goals
So that I can see the detailed objectives of that goal

Description

Image

Acceptance criteria

  • Clicking a goal should lead to the details of that goal
  • The details page should show a list of the details
  • It should contain a header and the associated details section
  • The details must contain 5 Headings and 5 details
  • The details should be vertical list items
  • At the bottom of the details page there should be a button that leads back to the list of goals

Tasks

  • Create a feature branch
  • Create a new page GoalDetails
  • Make the goals clickable with a link to the GoalDetails page
  • Create a card component that returns the details of a specific goal
  • Render the card component in the GoalDetails page
  • Align the goals vertically
  • Create a Button that leads back to the list of goals

US7 Edit Goals

Edit Goals

Value proposition

As a User
I want to be able to edit a goal
So that I can save the updated goal and see it on the goal list page

Description

Image

Acceptance criteria

  • When clicking the edit button the User is redirected to the edit form
  • Inside the edit form the values of the old goal should still be visible
  • After editing the user can save the edited form
  • The edited goal should be visible on the goal list page and the content updated
  • When refreshing the page the goal should still be there

US15 Styling

Styling/Refactoring

Value proposition

As a User
I want to be able to see a styled goallist/goaldetailpage
So that I can have a nice experience

Description

I want the list of goals on the goallist page to look nice. Same goes for a specific goal on the goaldetail page

Acceptance criteria

  • The goallist page and the goaldetail page have a nice styling

Tasks

  • Create a feature branch goalstyling

US12 Mindfulness Page

Mindfulness Page

Value proposition

As a User
I want to be able to visit the mindfulness page
So that I can get some tips on how to stay mindful

Description

Image

Acceptance criteria

  • A header called Be Mindful exists
  • On the page there are different exercises to be mindful
  • each exercise has its own card

Tasks

  • Create a feature branch mindfulnesspage
  • create a mindfulness page component
  • create cards to display the exercises/tips
  • add exercises/tips to the cards

US13 Form Styling/Refactoring

Form Styling/Refactoring

Value proposition

As a User
I want to be able to see a styled form
So that I can have a nice experience

Description

The current version of the Form is one page with 6 questions in their own fieldsets. I want to create a card that contains one question per card and style it.

Acceptance criteria

  • FormCard component exists
  • it is rendered for each question when creating a new goal or editing an existing goal
  • the styling fits the theme of the app

Tasks

  • Create a feature branch formstyling
  • create a FormCard component
  • render the component in every part of the app the form is present

US8 Homepage

Homepage

Value proposition

As a User
I want to be able to see a Homepage and a button.
So that I can see the name of the app and a short description of the SMART Method and click on the button to create a new goal.

Description

Image

Acceptance criteria

  • A Homepage with a Header exists
  • There is a short description of the SMART Method
  • There is a Button that directs the user to the form to create a new goal

US1 - List of goals

List of goals

Value proposition

As a User
I want to see a list of my goals
So that I can remember and track them

Description

Image

Acceptance criteria

  • The page has a heading called "my Goals"
  • The goals each have their own card
  • The list should be vertically sorted
  • Every card contains the title of the goal

Tasks

  • Create a feature branch
  • Create a GoalList page
  • Create a component that returns a heading
  • Create a card component that returns the name of the goal
  • Render both in the GoalList page

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.