.env file DB_STRING=postgresql://localhost SALT='forthworthsalt' ENCRYPTION_KEY='justTesting' RECAPTCHA_SECRET='' SENDGRID_API_KEY='' STRIPE_KEY='' SENTRY_DSN='' DB_SSL_OFF=true DB_SYNC=false DEBUG=true
easycopy's Introduction
easycopy's People
easycopy's Issues
Switch to passport for authentication
Experiment with different color palettes for background animation
Checking email verified twice shouldn’t error
Should check if email is already verified first
Fix recaptcha challenge invalid key type issue
It doesn't seem like a domain issue and there aren't other keys I could use. Maybe email google support regarding this?
Update authenticated state on frontend
- use context or redux
Implement payment request with Apple pay, Google pay, and CC autofill
- https://stripe.com/docs/stripe-js/elements/payment-request-button#react
- check stripe idemopotency mechanic
Fix error with tests async
Add index to Urls table for urlRaw and userId
Email verified should update upon refresh
Should re-pull latest user info like:
- emailVerified
- userName
Switch to transactions for backend
Improve Urls display to be wider, use grid, and provide truncated preview of content
Add pagination to URLs view
Make links easier by using links with proper syntax like AdverbVerbNoun or cut down words to shorter ones
Recaptcha doesnt work
- After recaptcha v2, it doesn't automatically run results
Breakdown backend routes into groups
- AccountManagement
- AccountFeatures
- Urls
something like that
verifyEmail route needs to redirect back to website
Fix "Cannot set headers after they are sent to the client"
POST /checkUser 500 2.277 ms - 12
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at ServerResponse.setHeader (_http_outgoing.js:536:11)
at ServerResponse.header (/Users/jingluo/GitHub/easycopy/node_modules/express/lib/response.js:767:10)
at ServerResponse.send (/Users/jingluo/GitHub/easycopy/node_modules/express/lib/response.js:170:12)
at ServerResponse.json (/Users/jingluo/GitHub/easycopy/node_modules/express/lib/response.js:267:15)
at /Users/jingluo/GitHub/easycopy/src/app.js:99:7
at Layer.handle_error (/Users/jingluo/GitHub/easycopy/node_modules/express/lib/router/layer.js:71:5)
at trim_prefix (/Users/jingluo/GitHub/easycopy/node_modules/express/lib/router/index.js:315:13)
at /Users/jingluo/GitHub/easycopy/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/Users/jingluo/GitHub/easycopy/node_modules/express/lib/router/index.js:335:12)
at next (/Users/jingluo/GitHub/easycopy/node_modules/express/lib/router/index.js:275:10)
Fix prop errors
Figure out the reason why verifyRecaptcha sometimes is so slow
Patch DB issues
- remove subscribed column from Users
- add not null for email for ResetPasswordTokens
- replace emailVerified
- add unique constraint to tokens or change tokens to primary key for token tables
- add unique constraint to userId and email fields for token tables
Subscription feature for accounts to be able to set expiration
Implement free trial
Resetup expiration mechanic to main DB for urls (and any associated media)
Protect endpoints that send out emails
- sendVerificationEmail
- sendResetPasswordEmail
Find way to run tests without actually sending email but checking if it's run
Sinon library would probably be useful
Clean up routes
Set email to lowercase always
- Try to see how to do that on the model level
Display backend error messages
Fix backend sending error
Add caching layer
Help with read throughput, in case someone popular shares something using it. Expiration 1 hour
Implement refund (potentially pro-rated refunds)
Fix recaptcha integration
- Create table for recaptcha random-generated tokens
- verifyrecaptcha route generates a random-generated string, saves it in the table, and upon successful call to recaptcha services sends the string back to frontend
- frontend passes token along with createUrl when the token matches one in table it is consumed, and url is generated
Pressing enter key should submit for signup and login
Frontend logs out if checkuser fails
Fix broken tests after email changes
Fix error with sendResetPasswordEmail test
Fix cannot set emailVerified of undefined Error from email verification
Check domains again like copythat.io, copythis.io, copy.io, etc
Subscription feature for accounts to be able to upload files
Fix frontend checkuser constant redirect problem
Use sequelize setter for urlRaw
sendVerifyEmail route errors while signUp route usage of sendVerifyEmail succeeds
It still sends the email, it receives the userId and email fine, but the API call ends with a 500.
Figure out how to redirect progammatically with react router
Without rendering redirect
Add forgotten password
Will want to protect the endpoint
Fix bug with sendVerifyEmail test
Need to set the createdAt time manually
Fix settings page style
- Scroll should be only if there's not enough space
- Center settings
- Improve separation between settings
Add validation table for url types
Switch to AWS
Create Chrome extension
Stop/rate-limit malicious scanners by blocking IP addresses of clients that repeatedly hit incorrect share links
See what level does heroku handle this already
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.