This repository contains the material for our Introduction to Blockchains course.
You can take the course online at blockchain-course.org.
cd db && yarn install && yarn link
- Copy
.env-template
to.env
and modify the variables cd cli && yarn install && yarn link blockchain-course-db
cd api && yarn install && yarn link blockchain-course-db
- Copy
.env-template
to.env
and modify the variables cd app && yarn install
- Copy
.env-template
to.env.local
and modify the variables
cd api && yarn start
cd app && yarn start
cd app && yarn build
cd api && yarn serve
node cli.js <command>
Commands:
cli.js add <command> Add an entity <group|lecture|file>
cli.js delete <command> Delete an entity <group|lecture|file>
cli.js get <command> Get an entity <group|lecture|file>
cli.js update <command> Update an entity <group|lecture|file>
Options:
--version Show version number [boolean]
--help Show help [boolean]