Dead line for submitting applications is now closed!
I am in need of assistance from a Node.js developer to complete an API client to easily interact with the CoCart REST API.
I have forked one from WooCommerce and started to make adjustments but I am not a Node.js expert yet. Still learning, which is why I need your help. If you are selected for the project you will be given access to the GitHub repository that I have started.
To give you some idea as to what you will be working on to build a version for CoCart, please take a look at this repository.
I take it that after reading this far you are interested so here is what I require:
Make authentication optional as the client needs to work with the REST API for logged out users as well.
Make sure any parameter that an endpoint has whether it’s required or optional, it passes without fail. I’m sure this is already done but just need verification.
Make sure all dependencies for the Node.js are all good and working together. No major security issues.
Create unit tests. (Leave to last)
Clear written examples on how to use the Node.js for documentation.
Instructions for me on how to maintain the project.
The client will be open-source once the project is completed and the CoCart documentation will be updated to include examples for the Node client.
I will need to see code examples preferably via your GitHub or BitBucket profile. Your welcome to share any work elsewhere that I can view that is similar to what I am want to achieve.
The job is remote so you can work anywhere and since we are only making adjustments to a project that is already complete it should not take any longer than a day. I do have a set budget in mind but would like to know also what you would charge for the set task.
In addition to finishing the client you, will be given lifetime access for CoCart Pro.
Application deadline is 22nd November, 2019
After the deadline I will review the applications and get back to you asap. Happy to answer any questions you may have too.
Want to know how to add products to the cart with CoCart? Checkout these examples below.
Simple products are exactly that. Just the product ID and the quantity are required.
Notice for a variable product you pass along the attribute the customer selected too. Variable products may have more than one attribute and some variations maybe set to allow attributes to be open to any option so passing along the attribute the customer selected is always best with multiple options.
When adding the attribute make sure you start the key with attribute_pa_ followed by the attribute slug of the option selected and then the value.
When developing a new REST API that has so many conditions, it can be frighting. However, when broken down into parts, supporting the core features is achievable.
When I started working on CoCart last year, it was just a prototype. This was version 1. I wasn’t new to using a REST API but new to creating a REST API.
It was around the same time I stopped working as a contractor to put more time to build a better version. One that was more open for developers to request specific parameters, filter in new data and have the ability support popular WooCommerce extensions or 3rd party plugins.
In order for me to do a free and a premium version of CoCart the API needed to be more flexible. It would not have worked on the current API and with the changes made in WooCommerce since the release of my prototype, it was a necessary decision to move away from extending WooCommerce’s REST API to being a REST API of it’s own.
CoCart v2 was released on 3rd July, 2019 and by the time I launched CoCart Pro on the 23rd August 2019, almost half of my user base already upgraded to version 2 which is the minimum requirement in order for CoCart Pro to work and in just a little over a month I already have my first 10 customers.
I couldn’t be more pleased with the results and I already have my first customer review.
Just wanted to say thank you for creating this plugin! I’m currently developing a new Ionic app which uses WordPress with WooCommerce as its base store and needed something to interact with WooCommerce powerful abilities and extensibility via some sort of API and yours fitted perfectly.
Keep up the good work!
This completes the first milestone. More features and support is currently in development and I can’t wait to share more details on them soon.
Just like to say a big thank you to my first 10 customers and I look forward to the next 10.