Sample Application
The CoCoCo Sample Customer Portal is a practical demonstration of how to integrate with our API to extend the platform's capabilities. Developers can use this application as a reference to understand secure API interactions and data handling tailored to specific business needs.
You can find all of the source code at:}
https://github.com/wearecococo/sample-customer-portal
This is released under an MIT license, ready for your own projects! Please check the licences of the open-source libraries used however to ensure compliance for anything you build!
Key Features:
Authentication: The application demonstrates secure user authentication mechanisms, ensuring that API calls are made safely and data is protected.
Data Retrieval and Display: It includes examples of fetching data from the API and presenting it in a user-friendly interface, showcasing how to handle and display information effectively.
Custom Functionality: The sample app illustrates how to implement custom features by leveraging API endpoints, enabling developers to build solutions that align with unique business objectives.
Getting Started
#
- Clone the Repository:
- Install Dependencies:
- Configure Environment Variables:
Create a
.env
file in the root directory and add your API credentials: - Run the Application:
For detailed information on available API endpoints and their usage, refer to our official documentation on this site docs.wearecococo.com
Ideas
#
- Use this as the basis of constructing a portal where a customer can submit requests for quotes.
- Change this to use the
User
API instead of theCustomer
API and build a tool for staff to see the state of production. - Use the
Device
andDeviceStatus
API to build custom dashboards in combination withCoConnect
, our on-premise device monitoring solution (included in your account!).
About GraphQL
Using C#