Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

codatio/sample-project-link-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo is archived in favour of sdk-link, which includes examples for various JavaScript toolings.

sample-project-link-sdk

This is a sample project adding a rudimentry implementation of @codat/link-sdk to a default create-react-app project.

Docs | npm | @codatdata | Codat

Using the project

Clone, install dependencies, and run the project.

npm install
npm run start

Go to the Portal and create a new company, and copy the ID. Paste this ID into the text box and click Start connecting

For simplicity, this project doesn't implement the creation of a company via Codat's API. In a real application you would do this programmatically via POST /companies.