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

Sea Turtles - Mission Inspirational - Georgia, Natalia, Shari, Tamara #28

Open
wants to merge 87 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 84 commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
51d6589
creates the app
Myranae Jun 27, 2022
0a8de50
installs axios
Myranae Jun 27, 2022
ac68600
added axios
georgia-adam Jun 27, 2022
61b4b1c
Merge branch 'main' of https://github.com/Myranae/front-end-inspirati…
Myranae Jun 27, 2022
2e19f86
adds components folder, plus Card and Board files;
Myranae Jun 30, 2022
fcb4ea8
updates prop names;
Myranae Jun 30, 2022
6b6b82b
added CSS and wireframe to App.js
sharifedak12 Jun 30, 2022
67ad44b
adds dropdown functionality to app;
Myranae Jun 30, 2022
6b81afc
implemented Board
georgia-adam Jul 1, 2022
6e2c959
Merge pull request #3 from Myranae/shari-daily-6-30
sharifedak12 Jul 1, 2022
333145d
Merge branch 'main' into likes
Myranae Jul 1, 2022
8997821
Merge pull request #1 from Myranae/likes
Myranae Jul 1, 2022
94de861
Merge branch 'main' into board_dropdown
Myranae Jul 1, 2022
1251e7a
Merge pull request #2 from Myranae/board_dropdown
Myranae Jul 1, 2022
2664bbb
Merge branch 'main' into georgia-7-1
georgia-adam Jul 1, 2022
aaddc7b
Merge pull request #4 from Myranae/georgia-7-1
georgia-adam Jul 1, 2022
580314f
updated Board JSX to include CSS
georgia-adam Jul 1, 2022
585caee
add card import statement
georgia-adam Jul 1, 2022
76fda3c
updates App jsx, adds chosen board state;
Myranae Jul 1, 2022
7bffeab
Merge branch 'main' of https://github.com/Myranae/front-end-inspirati…
Myranae Jul 1, 2022
6e8de16
removes extra text;
Myranae Jul 1, 2022
5f08301
updates default state for chosenBoardData;
Myranae Jul 1, 2022
68d023b
adds console.logs;
Myranae Jul 1, 2022
e856597
adds id prop to card call, matches Natalia's code
Myranae Jul 1, 2022
5e5062e
uncommented card in app return
NataliaWoodson Jul 18, 2022
631e150
updates card state to reflect current state of likes
NataliaWoodson Jul 18, 2022
d0c2d6f
fixed header to be on two lines
Myranae Jul 18, 2022
150c87c
Merge pull request #6 from Myranae/Natalia-7-18
NataliaWoodson Jul 18, 2022
c395ee4
removes hard coding for cards
Myranae Jul 18, 2022
2452873
Added Add Board Button
sharifedak12 Jul 18, 2022
a1ef51e
deleted debug statements in Card.js, added NewCardForm component
NataliaWoodson Jul 18, 2022
345ad6a
Add Board button now shows and hides
sharifedak12 Jul 18, 2022
c391ee7
Add X
sharifedak12 Jul 18, 2022
60cbb2d
completed add new card function
NataliaWoodson Jul 19, 2022
7056b64
deleted form code from app that was moved to NewCardForm
NataliaWoodson Jul 19, 2022
e7a300d
deleted debug statements
NataliaWoodson Jul 19, 2022
e07919c
Add card function, helper funcs to add card to specific board, moves …
NataliaWoodson Jul 19, 2022
f04a04b
Added NewBoardForm component. Integrated with App
georgia-adam Jul 19, 2022
ac5babb
add max length to card input field
NataliaWoodson Jul 19, 2022
09f6e96
adds SortDropdown component;
Myranae Jul 19, 2022
608a308
Merge branch 'main' into Natalia-Daily-7-18
NataliaWoodson Jul 19, 2022
3d28f00
Merge pull request #7 from Myranae/Natalia-Daily-7-18
NataliaWoodson Jul 19, 2022
8210390
Merge branch 'main' into Georgia-add-board-func
georgia-adam Jul 19, 2022
1a88173
Merge pull request #8 from Myranae/Georgia-add-board-func
georgia-adam Jul 19, 2022
d5f088a
Merge branch 'main' into shari-daily-7-18
sharifedak12 Jul 19, 2022
5a377e4
Merge pull request #10 from Myranae/shari-daily-7-18
sharifedak12 Jul 19, 2022
4a09c2f
edited createNewBoard function
NataliaWoodson Jul 19, 2022
44dc6fe
Merge branch 'main' into add_card_sorting
Myranae Jul 19, 2022
de0c39a
Merge pull request #9 from Myranae/add_card_sorting
Myranae Jul 19, 2022
c6fb794
fixed things missed during merge
Myranae Jul 19, 2022
e5654ac
successfully deletes card from db;
Myranae Jul 19, 2022
b4133f3
edited createNewBoard function
NataliaWoodson Jul 19, 2022
1f47b0d
Made everything pretty
sharifedak12 Jul 19, 2022
e2591ab
removes some comments;
Myranae Jul 19, 2022
789f61a
deletes unnecessary code and comments;
Myranae Jul 19, 2022
fad6694
lets user submit new card message with enter key
Myranae Jul 19, 2022
9967ec6
deleted unused component, CardList, added disable feature for invalid…
NataliaWoodson Jul 19, 2022
614c251
change NewCardForm to use form attribute and add deleteCard function
NataliaWoodson Jul 20, 2022
0d70755
Added Delete Button
sharifedak12 Jul 20, 2022
3b989f4
adds deleteBoard function
NataliaWoodson Jul 20, 2022
a8ba129
Merge pull request #12 from Myranae/Nat-daily-7-19
NataliaWoodson Jul 20, 2022
c9f2156
Merge branch 'main' into shari-daily-7-19
sharifedak12 Jul 20, 2022
8ce3b2e
Merge pull request #11 from Myranae/shari-daily-7-19
sharifedak12 Jul 20, 2022
5a53255
Merge branch 'main' into delete_card
Myranae Jul 20, 2022
364c376
Merge pull request #13 from Myranae/delete_card
Myranae Jul 20, 2022
fc3170f
Merge corrections
sharifedak12 Jul 20, 2022
0727a7e
removed unneeded code for creating a msg on enter
Myranae Jul 20, 2022
15e56ce
causes re-sort when likes data changes
Myranae Jul 20, 2022
0880178
adds value to dd select to reflect current board
Myranae Jul 20, 2022
03ad134
deployment
sharifedak12 Jul 20, 2022
87e445e
Fix lock file issue
sharifedak12 Jul 20, 2022
d25f5de
adds the url to the logo and title to web tab
Myranae Jul 20, 2022
fbf396a
updates css to not show underline for links
Myranae Jul 20, 2022
0957c5b
Merge branch 'main' of https://github.com/Myranae/front-end-inspirati…
Myranae Jul 20, 2022
1ed7a6b
Added favicon
sharifedak12 Jul 20, 2022
fb29e6e
Sort now case insensitive
sharifedak12 Jul 21, 2022
f65c862
fixes labels on sort
Myranae Jul 21, 2022
ebdfc9a
changed add board button from default to 'add board'
georgia-adam Jul 21, 2022
6d9e8e3
removes empty css files;
Myranae Jul 21, 2022
fbeb33f
add propTypes to card.js
NataliaWoodson Jul 21, 2022
5d848a2
deleted AddBoard component as it wasn't being used. NewBoardForm is b…
georgia-adam Jul 21, 2022
3c0b020
deleted unused destructuring variable from Board
georgia-adam Jul 21, 2022
e7b2e2e
added proptypes to Board.js
georgia-adam Jul 21, 2022
4ead3dc
added proptypes to NewBoardFrom
georgia-adam Jul 21, 2022
6612f4e
Update README.md
Myranae Nov 29, 2022
27018b9
adds demo image of completed project
Myranae Nov 29, 2022
c511077
Update App.js
sharifedak12 Jan 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,26 @@ yarn-error.log*
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"tabWidth": 2,
"useTabs": false
}
71 changes: 68 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,70 @@
# Inspiration Board: Front-end Layer
# Getting Started with Create React App

This scaffold only includes a `.gitignore` file.
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

To get started, follow the setup directions described in the project.
## Available Scripts

In the project directory, you can run:

### `yarn start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.

The page will reload when you make changes.\
You may also see any lint errors in the console.

### `yarn test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `yarn build`

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `yarn eject`

**Note: this is a one-way operation. Once you `eject`, you can't go back!**

If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)

### Analyzing the Bundle Size

This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)

### Making a Progressive Web App

This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)

### Advanced Configuration

This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)

### Deployment

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `yarn build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
5 changes: 5 additions & 0 deletions README.old.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Inspiration Board: Front-end Layer

This scaffold only includes a `.gitignore` file.

To get started, follow the setup directions described in the project.
43 changes: 43 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"name": "front-end-inspiration-board",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^13.2.1",
"axios": "^0.27.2",
"express": "^4.18.1",
"gh-pages": "^4.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.0"
},
"scripts": {
"predeploy": "yarn build",
"deploy": "gh-pages -d build",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
Binary file added public/favicon.ico
Binary file not shown.
43 changes: 43 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
Binary file added public/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
3 changes: 3 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
Loading