wyngit-server's People
wyngit-server's Issues
Not Validating Input
We should probably validate user input
Deprecated express call somewhere
express deprecated res.send(status): Use res.sendStatus(status) instead src/authentication/authentication.controller.ts:115:13
npm install errors
Step 4/7 : RUN npm install
---> Running in 9b391d4a2f95
> [email protected] install /usr/src/app/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using request for node-pre-gyp https download
[bcrypt] Success: "/usr/src/app/node_modules/bcrypt/lib/binding/bcrypt_lib.node" is installed via remote
> [email protected] install /usr/src/app/node_modules/husky
> node husky install
husky > Setting up git hooks
Can't find .git, skipping Git hooks installation.
Please check that you're in a cloned repository or run 'git init' to create an empty Git repository and reinstall husky.
> [email protected] postinstall /usr/src/app/node_modules/nodemon
> node bin/postinstall || exit 0
Love nodemon? You can now support the project via the open collective:
> https://opencollective.com/nodemon/donate
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 951 packages from 667 contributors and audited 865273 packages in 15.055s
found 0 vulnerabilities
Removing intermediate container 9b391d4a2f95
Can /auth/logout be a GET instead of POST?
Mongoose errors
Getting the following errors in the terminal
(node:85346) DeprecationWarning: Mongoose: `findOneAndUpdate()` and `findOneAndDelete()` without the `useFindAndModify` option set to false are deprecated. See: https://mongoosejs.com/docs/deprecations.html#-findandmodify-
(node:85346) DeprecationWarning: collection.findAndModify is deprecated. Use findOneAndUpdate, findOneAndReplace or findOneAndDelete instead.
Going to a random path throws an error in the console
going to /flights/flight came up with this
(node:8023) UnhandledPromiseRejectionWarning: CastError: Cast to ObjectId failed for value "flights" at path "_id" for model "Flight"
at new CastError (/home/shayne/work/wyngit-server/node_modules/mongoose/lib/error/cast.js:29:11)
at ObjectId.cast (/home/shayne/work/wyngit-server/node_modules/mongoose/lib/schema/objectid.js:242:11)
at ObjectId.SchemaType.applySetters (/home/shayne/work/wyngit-server/node_modules/mongoose/lib/schematype.js:894:12)
at ObjectId.SchemaType._castForQuery (/home/shayne/work/wyngit-server/node_modules/mongoose/lib/schematype.js:1306:15)
at ObjectId.SchemaType.castForQuery (/home/shayne/work/wyngit-server/node_modules/mongoose/lib/schematype.js:1296:15)
at ObjectId.SchemaType.castForQueryWrapper (/home/shayne/work/wyngit-server/node_modules/mongoose/lib/schematype.js:1275:15)
at cast (/home/shayne/work/wyngit-server/node_modules/mongoose/lib/cast.js:307:32)
at model.Query.Query.cast (/home/shayne/work/wyngit-server/node_modules/mongoose/lib/query.js:4478:12)
at model.Query.Query._castConditions (/home/shayne/work/wyngit-server/node_modules/mongoose/lib/query.js:1762:10)
at model.Query.<anonymous> (/home/shayne/work/wyngit-server/node_modules/mongoose/lib/query.js:2015:8)
at model.Query._wrappedThunk [as _findOne] (/home/shayne/work/wyngit-server/node_modules/mongoose/lib/helpers/query/wrapThunk.js:16:8)
at process.nextTick (/home/shayne/work/wyngit-server/node_modules/kareem/index.js:369:33)
at processTicksAndRejections (internal/process/task_queues.js:79:9)
(node:8023) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:8023) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Codecov orb not working
HTTP 400
Provided token is not a UUID.
Do I have to pass in a token??
Codecov integration
Need to figure out how to integrate codecov. Something about fixing the jest config for the code coverage to get picked up
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.