-
Notifications
You must be signed in to change notification settings - Fork 0
Team Coding Standards
Last Updated: April 10, 2024
- We will use flake8 as our linter and Black as our default style checkers.
- As far as is reasonable, we should include sub-function header comments explaining what each function's expected behavior is.
- Tab indentation only. No space indentation.
We will use the given languageβs standard naming conventions. For Javascript, we will use camelCase, and for Python, we will use snake_case. As we expand to using more languages, we can quickly get a consensus on what is considered that languageβs standard, which should take no time.
/<action type>/<specific action>; e.g., /delete/remove_user
Data will be passed in JSON format whenever possible according to the following conventions:
- Keys for data are concise, yet descriptive
- Maintain consistency in data structures and fields across endpoints (GET and POST)
- Use nested objects for hierarchical data
- Encode all data to prevent corruption when in flight
- Any branch should be immediately recognizable as being under ownership of a specific user. There is no need to use one's own username necessarily, but best judgment can be used.
- The commit description should clarify to a reviewer what the commit accomplishes.
- Incremental commits are encouraged as opposed to one giant commit; however, if your commit is large or is particularly complex, your commit description should call that out.
- Any work to be merged into main must be submitted as a pull request (PR) and reviewed by at least one other member of the team. Please take time in the comments associated with your pull request to detail the changes and describe how a reviewer can test for expected functionality.
- Anybody on the team should be free to tag anyone else as a reviewer.
- If you have been tagged as a reviewer, you will try to complete a review within 48 hours.
We are currently deploying our application on an AWS EC2 instance. There are two workflows for deployment depending on the frontend or the backend.
We currently have a Bash script that builds our React application, copies it over to the root nginx folder, and then restarts nginx. This can all be run using:
cd frontend
sudo sh deploy.shOur backend can just be started by running FastAPI. This works by first activating a venv with all the appropriate packages installed, and then running:
cd backend
uvicorn api:app --reload- Github Token:
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 - Shopify Password:
K3nj@420?! - Sample Visitor Password:
kenja.pro - Path to Stuff:
/usr/share/nginx/html;
For other information, check out our team's Google Drive. For a daily stream of thoughts, check this document.
- OKRs and KPIs
- Team Coding Standards
- Real Customer Profile
- Launch Week Recap
- Unusual Academy Pitch Event
- Final Reflection
- 1/23 - Jay Borenstein
- 1/26 - Chris Oh
- 1/30 - Glenn Reid
- 1/30 - Adam Heher
- 1/31 - Samantha Phillips
- 1/31 - Chris Tsakalakis
- 2/2 - MZ Zaveri and Kasey Zhang
- 1/25 - Introduction
- 2/1 - Proposing a Product
- 2/13 - OKRs and KPIs
- 2/27 - Catching up for Last Weeks of Winter
- 3/5 - Demo + Discussion
- 4/2 - New Quarter
- Strategy for Search for Shopping
- Ideal Customer Profile Brainstorming
- Outreach Messaging
- Tracking Outreach
- Discovery Call Outline
- Feedback from Unusual on Slides
- Meeting with Seena from Nike
- Meeting with Mike from Launch
- Meeting with Heather from Walmart
- Meeting with Sandy from Walmart
- Demo Call Outline
- Prototype v0: A New Shopping Experience
- Prototype v1: Updated Bookworm for Demo Day
- Prototype v3: SUPost Battle for Software Fair