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

Pacific-Pals #31

Open
wants to merge 55 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
4730e59
setup react app
ayaka Dec 22, 2021
8a66d82
Merge pull request #1 from ASY13/ayaka
ayaka Dec 22, 2021
bace118
add NewBoardForm component
ayaka Dec 23, 2021
ea472e3
Merge pull request #2 from ASY13/ayaka
ayaka Dec 23, 2021
a60f300
Updates
ASY13 Dec 23, 2021
a06c7ba
Merge branch 'main' into Andreas-branch-fe
ASY13 Dec 23, 2021
7d3e778
add newCardForm component and edit newBoardForm coponent
ayaka Dec 26, 2021
b4944ae
Merge pull request #3 from ASY13/ayaka
ayaka Dec 27, 2021
1db1ccf
added comments to App.js and NewBoardForm.js
FaithKauwe Dec 27, 2021
d4766ef
resolved merge conflict
FaithKauwe Dec 27, 2021
28e1633
Merge branch 'main' into Andreas-branch-fe
ASY13 Dec 27, 2021
bb186f4
created new components, BoardSelector and CurrentBoard
FaithKauwe Dec 27, 2021
e30d686
Merge pull request #4 from ASY13/FaithsBranch
FaithKauwe Dec 27, 2021
62a5bea
add CurrentBoard and BoardSelector components
ayaka Dec 28, 2021
f9dd0a4
Merge branch 'main' into Andreas-branch-fe
ASY13 Dec 28, 2021
261d4a4
Created two new components Card and CardList.
ASY13 Dec 29, 2021
1a985dc
Merge pull request #5 from ASY13/Andreas-branch-fe
ASY13 Dec 29, 2021
3525a80
Merge branch 'main' into ayaka
ayaka Dec 29, 2021
7e1105b
started to connect to backend
Aghaile Dec 29, 2021
5604c21
Merge pull request #6 from ASY13/AdahBranch
Aghaile Dec 29, 2021
45052ba
axios endpoint for /cards created, connecting to backend db
FaithKauwe Dec 30, 2021
d30df96
Merge pull request #7 from ASY13/FaithsBranch
FaithKauwe Dec 30, 2021
66f4f5e
create post request for new card
ayaka Dec 30, 2021
2f75b13
Merge branch 'main' into ayaka
ayaka Dec 30, 2021
26d9d21
axios post request
ayaka Dec 30, 2021
63c287c
Merge pull request #8 from ASY13/ayaka
ayaka Dec 30, 2021
e7e8b6c
added comments in app.js
FaithKauwe Dec 30, 2021
3229310
added lower body component, connecting to back end
FaithKauwe Dec 30, 2021
f6da5f0
Merge pull request #9 from ASY13/FaithsBranch
FaithKauwe Dec 30, 2021
25dfb61
update remote completely
ayaka Dec 30, 2021
694cdbd
Merge pull request #10 from ASY13/ayaka
ayaka Dec 30, 2021
efb6586
some styling
ASY13 Dec 30, 2021
0593ecb
Merge pull request #11 from ASY13/Andreas-branch-fe
ASY13 Dec 30, 2021
b1db6d7
finished functionality for +1 button and delete button, both testing …
FaithKauwe Dec 31, 2021
d03e3d0
Merge pull request #12 from ASY13/FaithsBranch
FaithKauwe Dec 31, 2021
b2639cd
add alert for http request exceptions
ayaka Dec 31, 2021
084431a
create NewBoardForm visibility toggle and add PropTypes validation
ayaka Jan 2, 2022
72a8bcb
Merge pull request #13 from ASY13/ayaka
ayaka Jan 2, 2022
5bd93d1
hard coded URL for purposes of heroku deployment
FaithKauwe Jan 3, 2022
3897b79
Merge pull request #14 from ASY13/FaithsBranch
FaithKauwe Jan 3, 2022
9706276
react app deployment to heroku
FaithKauwe Jan 3, 2022
530b8ff
add sorting message feature
ayaka Jan 3, 2022
a66fc24
Merge branch 'main' into sort-feature
ayaka Jan 3, 2022
587eab3
Merge pull request #15 from ASY13/sort-feature
ayaka Jan 3, 2022
672ab11
fix endpoints back to localhost
ayaka Jan 4, 2022
fbb8a6e
Merge pull request #16 from ASY13/ayaka
ayaka Jan 4, 2022
f1ca960
div and styling changes
ASY13 Jan 4, 2022
f94e625
Merge branch 'main' into Andreas-branch-fe
ASY13 Jan 4, 2022
e5e471f
fix endpoint
ayaka Jan 4, 2022
fe69150
Merge pull request #17 from ASY13/ayaka
ayaka Jan 4, 2022
27726f1
Styling updates below title box
ASY13 Jan 4, 2022
fbf09f5
CSS stuff and more
ASY13 Jan 5, 2022
4923449
Merge pull request #18 from ASY13/Andreas-branch-fe
ASY13 Jan 5, 2022
b2b43bc
Merge branch 'main' of https://github.com/ASY13/front-end-inspiration…
FaithKauwe Jan 6, 2022
94c88ae
had to hard code heroku url for deployment, process.env react app doe…
FaithKauwe Jan 6, 2022
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*
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:

### `npm 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.

### `npm 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.

### `npm run 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.

### `npm run 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)

### `npm run 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.
39 changes: 39 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "front-end-inspiration-board",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"axios": "^0.24.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "5.0.0",
"web-vitals": "^2.1.2"
},
"scripts": {
"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"
]
}
}
53 changes: 53 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!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>InspirationBoard</title>
</head>
<style>
body{
background-image: url(marblebg.jpeg);
background-repeat: no-repeat;
background-size: cover;
}
/* to not have to put it in css I added the img in the index.html to change the bg */
</style>

<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>
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"
}
Binary file added public/marblebg.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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:
45 changes: 45 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@

.wrapper {
display: grid;
width: 95%;
grid-template-columns: repeat(3,minmax(0,1fr));
grid-auto-columns: 1fr;
grid-auto-flow: column;
gap: 10px;
padding: 30px;
}

.one {
grid-row: 1;
border-radius: 20px 10px 50px 30px;
-webkit-border-radius: 20px 10px 50px 30px;
-moz-border-radius: 20px 10px 50px 30px;
border: 10px double;
border-color:orange;
display:flex;
justify-content:center;
align-items:center;
}

.two {
grid-row: 1;
border-radius: 20px 10px 50px 30px;
-webkit-border-radius: 20px 10px 50px 30px;
-moz-border-radius: 20px 10px 50px 30px;
border: 10px double;
border-color:orange;
padding:30px;
}

.three {
border-radius: 20px 10px 50px 30px;
-webkit-border-radius: 20px 10px 50px 30px;
-moz-border-radius: 20px 10px 50px 30px;
border: 10px double;
border-color:orange;
padding: 30px;
}




Loading