Skip to content

NewTechSE/NaiveCoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NaiveCoin

A simple demonstration of blockchain.

Demo: https://youtu.be/AGXmlOKNXqQ

How to run the app

  1. Go to backend folder.

    1. Install dependencies: npm i
    2. Start the backend: npm run deploy:prod. The blockchain server should run and expose API at localhost:3001
    3. To stop the backend: npm run stop

    image-20220626132231781

  2. Go to frontend folder

    1. Install dependencies: npm i
    2. Start the frontend: npm start. You can see the app is running at loccalhost:3000
    3. To stop the frontend: Simply Ctrl + C in your terminal twice

image-20220626132315013

image-20220626132349150

image-20220626132405988

image-20220626132541716

image-20220626132626746

image-20220626132710924

References

Blockchain logic: Savjee/SavjeeCoin: A simple blockchain in Javascript. For educational purposes only. (github.com)

UI components: Components Overview - Ant Design

UI Styling: Get started with Bootstrap · Bootstrap v5.2

UI State management: README · MobX