-
Notifications
You must be signed in to change notification settings - Fork 26
Core v4 Style Guide
crowbardispensingcore edited this page Jan 14, 2022
·
9 revisions
mike/blogs/logo-fix
backend/main-endpoints/routes
officer-manager.js
frontend/src/pages/printing-analytics
ProfileHeader.jsx
ProfileHeader.css
ProfileHeader.scss
helper-function.js
header-image.jpg
-
camelCase -
append
DBto the end of the name -
singular
myNewDB
-
lowercase -
no separators
-
plural
doorcodes inventoryitems
accessLevel
firstName
{
"data": {
"firstName": "Jane",
"lastName": "Doe",
"email": "[email protected]"
}
}{
"error": {
"message": "Use 8 characters or more for your password"
}
}try {
const res = await axios.post(...);
const { firstName, lastName, email } = res.data.data;
} catch (err) {
const status = err.response.status;
const { message } = err.response.data.error;
}