Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
5791d20
Setting up GitHub Classroom Feedback
github-classroom[bot] Sep 16, 2021
e9344a3
Update GitHub Classroom Feedback
github-classroom[bot] Sep 16, 2021
e7e4be1
Setting up GitHub Classroom Feedback
github-classroom[bot] Sep 16, 2021
58c7b14
base project structure
Triple3Apple Sep 17, 2021
3f35136
small update to structure
Triple3Apple Sep 17, 2021
991086f
Merge pull request #2 from The-Software-Guild/project-setup
Triple3Apple Sep 17, 2021
e87b433
Added db connection to backend and modified models
Triple3Apple Sep 18, 2021
179455c
added files for GQL
Triple3Apple Sep 20, 2021
bd6b0ee
graphql types
Triple3Apple Sep 20, 2021
19747d6
basic jwt verification, needs more work
Triple3Apple Sep 20, 2021
e3eff0b
Merge pull request #3 from The-Software-Guild/gql-setup
Triple3Apple Sep 20, 2021
fd02a70
login and register mutations created
Triple3Apple Sep 20, 2021
992744f
Finished backend
Triple3Apple Sep 23, 2021
658ee54
Merge pull request #4 from The-Software-Guild/gql-mutations
Triple3Apple Sep 23, 2021
aa56eac
made rough draft of the front-end
Triple3Apple Sep 23, 2021
689ac08
most front-end functionality done
Triple3Apple Sep 24, 2021
71eb87d
Added all front-end functionalities and also set up the assets folder…
Triple3Apple Sep 24, 2021
45ed449
mocha and chai tests for authentication/login
Triple3Apple Sep 24, 2021
1dfe84f
Merge pull request #5 from The-Software-Guild/front-end
Triple3Apple Sep 24, 2021
4b7a5f4
styling mostly completed
Triple3Apple Sep 24, 2021
3e0c9ac
Merge pull request #6 from The-Software-Guild/front-end-styling
Triple3Apple Sep 24, 2021
d8ab1d8
refactored a lot of files and removed unnecessary code
Triple3Apple Sep 24, 2021
2d31b2a
Merge pull request #7 from The-Software-Guild/refactoring
Triple3Apple Sep 24, 2021
f01a220
small fix to rendering of issues on main page
Triple3Apple Sep 24, 2021
cc9c5c5
fixed vote bug and main page render issue
Triple3Apple Sep 24, 2021
aa33fbe
Merge pull request #8 from The-Software-Guild/vote-bug-fix
Triple3Apple Sep 24, 2021
b0a4932
Updated readme a bit
Triple3Apple Sep 30, 2021
bb989e5
Login and Register page stylized
Triple3Apple Oct 14, 2021
5b1a36a
More ui improvements + style refactoring
Triple3Apple Oct 14, 2021
6873ac5
Improved UI of Add Issue Page
Triple3Apple Oct 14, 2021
ae691f2
Merge branch 'main' into visual-update
Triple3Apple Oct 14, 2021
1f64ffe
Merge pull request #9 from The-Software-Guild/visual-update
Triple3Apple Oct 14, 2021
05eb5dc
Improved add comment UI
Triple3Apple Oct 15, 2021
cbdf0ce
Improved UI of many things like post container and etc :P
Triple3Apple Oct 16, 2021
ca046cf
Merge branch 'main' into add-comment-ui
Triple3Apple Oct 16, 2021
85be5e1
Merge pull request #10 from The-Software-Guild/add-comment-ui
Triple3Apple Oct 16, 2021
f64b638
Updated login page preview image in README
Triple3Apple Oct 16, 2021
9ea23c8
hamburger menu
Triple3Apple Oct 22, 2021
1325589
hamburger closes on route change
Triple3Apple Oct 22, 2021
e3f2065
Merge pull request #11 from The-Software-Guild/mobile-hamburger-menu
Triple3Apple Oct 22, 2021
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
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
## MERN App ~ Climate Action 101

### Utilized:

##### Node, React, Express, GraphQL & Apollo, Mongoose & Mongodb, bcrypt, JSONWebToken, Axios

##### Testing: Jest, Mocha, Chai and Enzyme

[![Open in Visual Studio Code](https://classroom.github.com/assets/open-in-vscode-f059dc9a6f8d3a56e377f745f24479a46679e63a5d9fe6f495e02850cd0d8118.svg)](https://classroom.github.com/online_ide?assignment_repo_id=5646930&assignment_repo_type=AssignmentRepo)

### NOTE: The UI needs a little more work but all the functionality is there

#### Login Page:
Uses JWT to authenticate users and bcrypt to encrypt user data on a database.
Users can login or register a new account on this page.
![image](https://user-images.githubusercontent.com/43301530/137573528-5e7e86f8-26d1-4a71-aa16-58428c4d66a3.png)

#### View Posts
User can view posts made by the current user and as well as other users.
Aside from viewing, the user can upvote/downvote the post and leave comments on any of the posts.
![image](https://user-images.githubusercontent.com/43301530/135486973-8b38276e-c881-4f56-8280-71b75bae7b52.png)
Binary file added assets/Gifs of App/hamburger menu.gif
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 assets/Mockup and Diagrams/DB Schemas.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 assets/Mockup and Diagrams/Node Modules.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 assets/Route Screenshots/All Mutations in GQL.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 assets/Route Screenshots/All Queries in GQL.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 assets/Route Screenshots/DEL Delete issue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 assets/Route Screenshots/POST Login User.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 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*
70 changes: 70 additions & 0 deletions client/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## 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 the browser.

The page will reload if you make edits.\
You will 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)
Loading