Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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: 4 additions & 16 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
{
"extends": [],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"plugins": ["@typescript-eslint"],
"settings": {
"import/resolver": {
"node": {
"extensions": [
".mjs",
".js",
".json",
".ts",
".tsx"
],
"paths": [
"common",
"frontend/src",
"backend/src"
]
"extensions": [".mjs", ".js", ".json", ".ts", ".tsx"],
"paths": ["common", "frontend/src", "backend/src"]
}
}
}
}
}
5 changes: 3 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ This pull request is the first step towards implementing feature Foo

<!--- List any important or subtle points, future considerations, or other items of note. -->

### Breaking Changes <!-- Optional -->
### Breaking Changes <!-- Optional -->

<!-- Keep items that apply: -->

- Database schema change (anything that changes Firestore collection structure)
- Other change that could cause problems (Detailed in notes)
- Other change that could cause problems (Detailed in notes)
2 changes: 1 addition & 1 deletion .github/workflows/ci-policies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
- uses: actions/checkout@master
- uses: cornell-dti/big-diff-warning@master
env:
BOT_TOKEN: '${{ secrets.BOT_TOKEN }}'
BOT_TOKEN: '${{ secrets.BOT_TOKEN }}'
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ Helping the Cornell community at-large find reviews and information about housin

You will need Node.js and Yarn installed on your development machine.

To setup your environment, go into the root folder and run `yarn install`. This installs the necessary
dependencies in each required Yarn workspace. Then, run `yarn start` to start a development server
for frontend and backend in parallel. If you specifically want to run either the frontend or backend
on its own, run `yarn frontend-dev` or `yarn backend-dev`.
To setup your environment, go into the root folder and run `yarn install`. This installs the
necessary dependencies in each required Yarn workspace. Then, run `yarn start` to start a
development server for frontend and backend in parallel. If you specifically want to run either the
frontend or backend on its own, run `yarn frontend-dev` or `yarn backend-dev`.

## Contributors

Expand Down
3 changes: 2 additions & 1 deletion backend/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@
"tsconfigRootDir": "./"
},
"env": { "node": true },
"ignorePatterns": ["**/*.test.ts", "**/*.spec.ts"],
"rules": {
"import/extensions": "off",
"import/no-extraneous-dependencies": "off",
"no-console": "off",
"no-shadow": "off"
}
}
}
14 changes: 8 additions & 6 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,24 @@
"dependencies": {
"@firebase/testing": "^0.20.11",
"axios": "^0.21.1",
"cheerio": "1.0.0-rc.10",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"dotenv": "^17.4.2",
"express": "^4.17.1",
"firebase": "^8.0.1",
"firebase-admin": "^9.3.0",
"fuse.js": "^6.4.6",
"morgan": "^1.10.0",
"supertest": "^6.1.3",
"ts-node": "^9.1.1",
"typescript": "^4.0.5"
"supertest": "^6.1.3"
},
"devDependencies": {
"@types/cheerio": "0.22.31",
"@types/cors": "^2.8.10",
"@types/express": "^4.17.11",
"@types/morgan": "^1.9.2",
"@types/supertest": "^2.0.11",
"eslint-import-resolver-typescript": "^2.5.0"
"eslint-import-resolver-typescript": "^2.5.0",
"ts-node": "^10.9.2",
"typescript": "^6.0.3"
}
}
}
Loading
Loading