-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from BCIT-SSD-2020-21/17UserProfie
17 user profie
- Loading branch information
Showing
12 changed files
with
57 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,30 @@ | ||
# A Passion Project | ||
by Jianming Tu | ||
# Paws Lost and Found | ||
by Jianming Tu https://eloquent-archimedes-c44224.netlify.app | ||
|
||
## Description | ||
This is a web app for finding the lost pets or the owner who lost pets. The app provides the user authentication and authorization for creating a post of lost or find; provides a searching engine for easily narrowing down the need. | ||
|
||
## Overview | ||
The goal of the Passion Project module is to provide each student with an opportunity to individually explore and expand their abilities within a hands-on project-based setting. | ||
## Tech Stack | ||
use react, express and mongodb, deploying on netlify(front end app), Heroku(Node express) and mongoDB altas and save the images on AWS s3 bucket, using React, Bootstrap, Material-ui, font-awesome | ||
|
||
The student will perform all roles including: | ||
* Product Owner | ||
* Product Designer/Planner | ||
* Project Manager | ||
* Designer | ||
* Dev Ops | ||
* Developer | ||
## Deployed on Netlify | ||
https://eloquent-archimedes-c44224.netlify.app/ | ||
|
||
Students are encouraged to work independantly (or in small groups of 2 or 3 if there is a shared passion). | ||
## Deployed on Heroku | ||
https://fathomless-lake-61399.herokuapp.com/api | ||
|
||
Students are able to use the tech stack of their choice. | ||
|
||
## Outcomes | ||
Leading up to this point in our program you were asked to plan, design, and start to develop a product of your choosing. Given your increased experience with web and mobile technologies, you will be provided with class time to perform the tasks necessary to result in the following: | ||
|
||
* A deployed main branch of any web based project assets. | ||
* A clearly defined document with installation instructions as well as links and descriptions for all project assets. | ||
* A project board that shows all of your build activitites (GitHub Project, Trello, etc.) | ||
* A 5 minute presentation of the primary use cases for your application. | ||
|
||
## Process | ||
* Review your original product plan and design. | ||
* Make changes to your plan/design where necessary to ensure that you can have a completed product for the Passion project demo day. | ||
* Set specific milestones for your project, this will help to ensure that primary use cases are built in priority sequence and functional to a required minimum. (Not all milestones need to be completed...) | ||
* All commits are to be done on a branch other than main and connected to a GitHub "issue". If working alone you can review and merge your own pull requests. | ||
|
||
## Essential Features | ||
These are really based on the design of your application and up to you...The only requirements are that each application has: | ||
* some form persistant data that requires a database | ||
* an implementation of a user interface that appropriately ties the app to the persisted data. | ||
|
||
All other features should be included on an as needed basis for your application. | ||
|
||
## Due Date and Grading | ||
Presentations will take place 1pm-4pm PST April 16th, 2021. | ||
|
||
The due date for graded code to be on GitHub is 11:59pm April 18th, 2021. | ||
|
||
The passion project accounts for 20% of your SSDP5001 mark. | ||
## App Layers | ||
client - React (Netlify) | ||
server - Express (Heroku) | ||
database -MongoDB | ||
|
||
**SSDP5001 Weighting** | ||
* Career Success Series (13.33%) | ||
* Passion Project (20%) | ||
* Industry Project (66.67%) | ||
## Server Installation | ||
https://github.com/BCIT-SSD-2020-21/passion-project-jianmingtu/tree/main/client | ||
|
||
## Server Installattion | ||
https://github.com/BCIT-SSD-2020-21/passion-project-jianmingtu/tree/main/server | ||
|
||
## App Layer | ||
client - React (Netlify) | ||
## User Experience | ||
![](https://i.imgur.com/sW2ter8.png) | ||
![](https://i.imgur.com/88agZx5.png) | ||
|
||
server - Express (Heroku) | ||
|
||
database -MongoDB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,13 @@ | ||
# server | ||
|
||
## Overview | ||
The goal of the Passion Project module is to provide each student with an opportunity to individually explore and expand their abilities within a hands-on project-based setting. | ||
|
||
The student will perform all roles including: | ||
* Product Owner | ||
* Product Designer/Planner | ||
* Project Manager | ||
* Designer | ||
* Dev Ops | ||
* Developer | ||
|
||
Students are encouraged to work independantly (or in small groups of 2 or 3 if there is a shared passion). | ||
|
||
Students are able to use the tech stack of their choice. | ||
|
||
## Outcomes | ||
Leading up to this point in our program you were asked to plan, design, and start to develop a product of your choosing. Given your increased experience with web and mobile technologies, you will be provided with class time to perform the tasks necessary to result in the following: | ||
|
||
* A deployed main branch of any web based project assets. | ||
* A clearly defined document with installation instructions as well as links and descriptions for all project assets. | ||
* A project board that shows all of your build activitites (GitHub Project, Trello, etc.) | ||
* A 5 minute presentation of the primary use cases for your application. | ||
|
||
## Process | ||
* Review your original product plan and design. | ||
* Make changes to your plan/design where necessary to ensure that you can have a completed product for the Passion project demo day. | ||
* Set specific milestones for your project, this will help to ensure that primary use cases are built in priority sequence and functional to a required minimum. (Not all milestones need to be completed...) | ||
* All commits are to be done on a branch other than main and connected to a GitHub "issue". If working alone you can review and merge your own pull requests. | ||
|
||
## Essential Features | ||
These are really based on the design of your application and up to you...The only requirements are that each application has: | ||
* some form persistant data that requires a database | ||
* an implementation of a user interface that appropriately ties the app to the persisted data. | ||
|
||
All other features should be included on an as needed basis for your application. | ||
|
||
## Due Date and Grading | ||
Presentations will take place 1pm-4pm PST April 16th, 2021. | ||
|
||
The due date for graded code to be on GitHub is 11:59pm April 18th, 2021. | ||
|
||
The passion project accounts for 20% of your SSDP5001 mark. | ||
|
||
**SSDP5001 Weighting** | ||
* Career Success Series (13.33%) | ||
* Passion Project (20%) | ||
* Industry Project (66.67%) | ||
|
||
# Server Side Install, Debug and Deployment | ||
|
||
## Server Layer | ||
server - Express (Heroku) | ||
server - Express (Heroku) | ||
database -MongoDB | ||
- Install | ||
npm init | ||
npm install -g nodemon | ||
npm i [email protected] -D | ||
npm i express morgan body-parser dotenv mongodb bcryptjs jsonwebtoken | ||
npm i express morgan body-parser dotenv mongodb bcryptjs jsonwebtoken | ||
- create server.js, etc. | ||
- deploy | ||
heroku login | ||
|
@@ -79,17 +30,19 @@ database -MongoDB | |
add "start": "node server.js" to package.json | ||
git add . | ||
git commit -m "change xxx" | ||
git subtree push --prefix server heroku master (build https://fathomless-lake-61399.herokuapp.com) | ||
git subtree push --prefix server heroku master (build https://fathomless-lake-61399.herokuapp.com) => push to Heroku Github | ||
git branch --show-current | ||
git push origin 1ServerSetup | ||
git push origin 1ServerSetup => My Personal GitHub | ||
|
||
|
||
https://blog.logrocket.com/5-ways-to-make-http-requests-in-node-js/ | ||
-- 5 ways of http requests and I choose the most popular axios | ||
|
||
## debug on the express | ||
## Debug on the local Express | ||
run code . the server folder | ||
click on the `run and debug` | ||
select Node from the list | ||
go to the breakpoint and will get the debug interrupt | ||
CTRL+SHIFT+D -> Select 'Run and Debug' -> Choose Node.js -> It will run into breakpoints | ||
|
||
## Debug on Heroku (the CLI will keep an alive logging) | ||
heroku login | ||
heroku logs --app=fathomless-lake-61399 --tail | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters