Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

summary info data #18

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

summary info data #18

wants to merge 2 commits into from

Conversation

kitks
Copy link

@kitks kitks commented Aug 4, 2021

Add data for summary info component

@@ -0,0 +1,31 @@
const actualItems = [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move the mock data files from graphql to the MSW folder in wallora.com repo

@@ -0,0 +1,8 @@
const currentMonth = [
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move this mock data to wallora.com too

@@ -0,0 +1,39 @@
const plannedItems = [
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move this mock data too

@@ -1,6 +1,9 @@
import { gql } from "apollo-server";
import predictedSavings from "../dummy-data/predicted-savings.js";
import plannedExpenses from "../dummy-data/planned-expenses.js";
import currentMonth from "../dummy-data/current-month.js";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fetch real data from the wallora REST API at https://www.wallora.com/api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants