Skip to content
This repository was archived by the owner on Jan 16, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
package-lock.json
13 changes: 13 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const express = require('express');
const app = express();
const port = 4200;

app.get('/', (_, response) => {
response.json({
message: "Root"
}).send();
});

app.listen(port, () => {
console.log(`App listening at http://localhost:${port}`);
});
24 changes: 24 additions & 0 deletions model.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name.surname@ukma.edu.ua": {
"name": "Illia Yatsyshyn",
"faculty": "Faculty of Informatics",
"speciality": "Computer Science",
"semester": [{
"idx": 1,
"subjects": [{
"name": "Blockchain",
"tutor": "kyrylog@ukma.edu.ua",
"grade": 98,
"tasks": [{
"title": "Ethereum task1 transaction with data",
"grade": 5
},
{
"title": "Ethereum task2 ERC20 token",
"grade": 5
}
]
}]
}]
}
}
23 changes: 23 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "kmachain",
"version": "1.0.0",
"description": "This is joint project of students learning Basics of blockchain technology and cryptocurrencies at FI NaUKMA and 482.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tsshn/KMAChain.git"
},
"author": "Illia Yatsyshyn",
"license": "ISC",
"bugs": {
"url": "https://github.com/tsshn/KMAChain/issues"
},
"homepage": "https://github.com/tsshn/KMAChain#readme",
"dependencies": {
"express": "^4.17.1"
}
}