Skip to content

mkabdullahi/crud-tutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contact List App

Live Demo visit: NearestContact

This was developed after learning this tutorial building a CRUD dApp and NEAR Development 101 program, by deacde

Notes

The application consist of two distinct layers:

  • Smart contract (in web2 we may refer to this as server-side or back-end)
  • Web app (in web2 we may refer to this as client-side or front-end)

Working

Contracts: /contact-list-contract/

  1. to install dependencies cd contact-list-contract && yarn
  2. after that run tests - yarn test
  3. compile the contract - yarn asb
  4. deploy the contract - near deploy --accountId=your_account.testnet --wasmFile=build/release/contact-list-contract.wasm

Web App Tests: /contact-list-near/

  1. to install dependencies cd contact-list-near && yarn
  2. to start the server - yarn start

Notes

  • If you deploy the contract, make sure to edit the CONTRACT_NAME found in contact-list-near/src/utils/config.js to match your deployed contract.
  • You must be logged in to interact with the app. If you don't have a NEAR wallet, click here to make one.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 71.1%
  • HTML 14.8%
  • TypeScript 11.2%
  • CSS 2.8%
  • Shell 0.1%