hpaulson / captureshare Goto Github PK View Code? Open in Web Editor NEW 5.0 5.0 1.0 35.61 MB CaptureShare is a file uploading service that features an API for uploading files, screenshots, and other content using POST requests, with a dashboard for managing your content! License: GNU General Public License v3.0 JavaScript 3.86% HTML 2.23% Vue 37.38% TypeScript 56.53% api-rest captureshare client-server express file-upload sharex-upload typescript upload-pictures vue Introduction ยท People ยท Discuss
Create function to check login data Problem Currently, Checking for user sign-in is heavily duplicated, unnecessarily complex, and overall ugly and inefficient. Solution To fix this issue, Create a function for checking login data, rather than having repeat code in every route to check this data. Current Code Duplication CaptureShare/server/src/routes/api/upload.ts Line 116 in 6e698a8 let loggedUser: { CaptureShare/server/src/routes/api/upload.ts Line 174 in 6e698a8 let loggedUser: { CaptureShare/server/src/routes/api/upload.ts Line 287 in 6e698a8 let loggedUser: {
Vue.js ๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
javascript JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Machine learning Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Facebook We are working to build community through open source technology. NB: members must have two-factor auth.