fury02 / ic_notes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ic-notes

This app uses Internet Computer's motoko language along side Angular

 


Getting started

  1. Install DFX. Please keep in mind the dfx cli currently only runs on Linux and Apple based PCs.

  2. Install Angular

  3. Install npm packages from the project root:

    npm install


Serve Angular and the IC backend server locally with live reloading:

npm run ng-start
  • Once the job fully starts, your application will be available at http://localhost:4200.

  • If you make any changes while in development mode, the project will recompile on both the Angular and IC / Motoko side.

 


Build and Serve the Angular application on the local IC server:

npm run build-dfx-www

 


package.json Scripts

npm run [script name]
Name Description
ng-start Start the Angular and the IC server locally with live reloading
ng-serve Serve and watch both Angular and the IC server for changes
ng-start-dfx Stop IC server when needed and re-start the IC server
build-dfx-www Build and Serve the Angular application on the local IC server
print-dfx-www Print the url to the local IC server Angular application
 

To learn more about working with dfx, see the following documentation available online:

About


Languages

Language:SCSS 37.2%Language:TypeScript 25.1%Language:JavaScript 17.3%Language:Motoko 14.3%Language:HTML 6.0%