React Front-End: https://letsplay-react.herokuapp.com
Let's Play was built in 5 days by:
Bryant Cabrera - GitLab Manager/Scrum Master/Documenter/Designer
Abraham Hsu - Scrum Master/API Manager/Designer/React Lead
heroku
As a user, I want to be able to check out some of the app's features without having to sign up.
As a user, I want a responsive navigation bar because I want access to appropriate components of the app.
As a user, I want to view a list of all the boardgames and their info without having to log in so I can assess whether I should register on the site or not.
As a user, I want a link in the NavBar to my own profile and a logout link for convenience.
As a user, I want to add boardgames from the boardgames index and know which ones have been added to my profile already for a better user experience.
As a user, on my Edit Page, I want to have input fields pre-populated with my current info so that I know what I want to edit.
Front-End
1. React
2. Bootstrap
3. BEM
4. Google Fonts
5. HTML
6. CSS
7. Javascript
8. Heroku
9. Git
Back-End
1. Python
2. PostgreSQL
3. Flask
4. Restful Routing
5. peewee
APIs
1. Board Game Geek (JSON): [https://bgg-json.azurewebsites.net/](https://bgg-json.azurewebsites.net/)
2. Board Game Geek (XML): [https://boardgamegeek.com/wiki/page/BGG_XML_API2](https://boardgamegeek.com/wiki/page/BGG_XML_API2)
Authentication
1. Bcrypt
Planning/Organization/Design
1. Adobe XD
2. Adobe Photoshop
3. Postman
###Flask Back-End
1. Make sure you have downloaded all dependencies for the flask backend
1. in terminal, cd to your project folder
2. $pip3 install -r requirements.txt
2. Run the environment with $ virtualenv .env -p python3
3. Make sure to run the flask server with $python app.py
1. LOGGING IN: Users are able to register for a new account.
> When a user signs up for the first time, user will be presented a user profile page, where they'll fill out his or her name, profile picture, and location.
> User will be able to browse all board games and add a particular game to his/her collection.
2. USER PROFILE:
> Once vendor has completed their profile page, website will redirect to their own profile page, showing their info: profile picture, username, location, and board games he/she owns.
3. WEBSITE VISITORS:
> Upon visiting the landing page, visitors are greeted a splash image of people gathered around playin a boardgame and can either register for a new account, discover all board games, or browse other profile.
> Upon clicking a boardgame, visitor will be redirected to the Boardgame Show page, which displays additional information about the game: the designer, minimum and maximum players, play time, and description.
4. BOARD GAMES:
> Available boardgames are viewable by anyone, without the need to register.
> Clicking a boardgame image will redirect user to a boardgame's individual showpage, showing additional information.
- Link to repo: https://github.com/BryantCabrera/letsplay-flask.
- On your personal repo (NOT the General Assembly) enterprise, log in. then click link above and fork the repo. Make sure the repo is in your personal GitHub (go to your personal GitHub account and the project repo “relocater” should be there). Then, from YOUR PERSONAL FORK, clone it to your local repo.
- $git clone {without curly braces, put the clone link here}
- $git remote add upstream https://github.com/BryantCabrera/letsplay-flask
- In terminal, cd to the project repo, open it, and $git checkout -b {without these curly braces, put your first name here in all lower case letters}
- EXAMPLE: $git checkout -b bryant
- **any other time you are changing back to your branch, you don’t need to type the “-b” part anymore
- $npm install
- This gets all of the react & express packages downloaded.
- FOR EXPRESS: you’re only concerned with the following folders/files
- Controllers
- Db
- Models
- Public
- Routers
- .env
- Server.js
- FOR REACT: you’re only concerned with the following folders:
- src (where you will be making ALL components)
- public
- When you are 100% sure your data is ready to be merged into the master copy, make sure you are on YOUR OWN BRANCH (lower left of VScode), call Bryant to let him know you're merging, then:
- $git add -A
- $git commit -m “Adds {put your name here}’s {2-3 word description of the feature/code you made}”
- $git push origin {without the curly braces, branchname}
- This passes up the whole branch
- go to your PERSONAL GitHub repo
- OPTION 1: on your PERSONAL GitHub repo, accept and merge the pull requests
- OPTION 2 (if you don't see the green button ABOVE the clone/download button on the right):
- in your PERSONAL remote repo, use the dorpdown on the left to switch to the branch that you made updates to
- click the "New Pull Request" button directly to the right of that dropdown menu
- on the new screen, make sure the left side points to the origin master, and the right side points to your personal branch that has your edits
- Make sure your local repo is always in sync.
- make sure you don't have any pending commits, then
- $git checkout master
- Bryant will let you know when to $git pull upstream master
- $git branch -D {without the curly braces, your name all in lowercase}
- this deletes your old branch
- $git checkout -b {without the curly braces, your name all in lowercase}
- Merging
- On master GitHub link
- Click green button called “compare & pull”
- Create pull request (a) Title: {YourName in all lowercase} –{1-3 word description of new feature/code you made} (b) Description: {line numbers} : Describe in detail what change you made and what it does.
- Click send pull request
- DO NOT hit “merge”, Bryant will be handling this.
- On master GitHub link
- Unsolved problems:
- Search bar needs to match exact characters, including Uppercase.
- Search bar requires users to press "Reset Search" everytime a user wants to perform another search.
- After adding a boardgame to user, must view all profiles then click on own profile in order to correctly display owned boardgames.
- Planned features:
- When a boardgame is added, no activity happens. Ideally, we'd make it so a flash message appears, "Boardgame has been added!"
- Add ability for users able to leave ratings and reviews on boardgames.
- Add ability for users able to chat with other users to discuss boardgames or meet-up times to play boardgames together.
- Authentication with Google or other social medias for easier login and security.
- Add ability for user to delete a boardgame from their list.
- Make search bar smoother: with each key press, start filtering boardgame names and animate the flow of boardgames disappearing.