But it was not just an easy upload. When you upload an item to CodeCyan, they have a dedicated team that tests your application and reviews the code quality of your app.
We have faced a few problems that I want to share, so if someone is uploading his first item to CodeCyan then he/she can review those points before submission and the chances of rejection can be reduced.
1. Do not use remote CDN
We have used Bootstrap in our system as a theme and we were using remote CDN URLs for JS and CSS. for e.g.
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
All your assets need to be offline. so download all these files via either some package manager or just go and download it and put it under the respective asset folder.
2. Use Strict Mode in JS
For example, you can do this with jQuery as follows:
// Author code here
Or you can put
at the start of your file if they are generated via some webpack. There is a babel plugin available which you can use with a webpack.
3. Attach documentation into the main file
Attach documentation into the main file which you are uploading. Create a
docs folder into the root folder and attach full documentation to set up the application. Also, remember that this doc should work offline as well. so attach all your assets here as well.
4. Have Clear & Easy documentation for Non-Technical Users
All the customers or buyers do not have technical knowledge that needs to be there to set up an application. so try to make your application setup as easy as possible. for e.g, create a setup wizard which executes step by step and ask for details from customers.
Or create a dedicated section in your documentation for Non Technical users with clear, precise and minimal steps that needs to be performed.
If possible, then try to give two different zip files under your main zip file, like
- dist - Distribution which can be set up with minimal efforts for non-technical users
- source - Original source file for technical users
I hope this will help new Envato Authors who are uploading their very first item.