How to Create a Coin Faucet in Node.js

Session 3: Backend & API
with elliottminns|6 years experience|Swift
38566views
How to Create a Coin Faucet in Node.js
- English
- Cryptocurrency
Cryptocurrency Basics
- Project length: 4h 48m
In this project, we are going to look at creating a faucet for our cryptocurrency that we previously created. A Faucet is a way to distribute coins to users, in this case we will add a captcha that also mines in the background and will allow us to earn back the coins we distribute. It's a great way to get coins into circulation. As well as being a fun project, this project will also teach us how to interact and build applications on top of crypto currencies.
Overview
How to Create a Coin Faucet in Node.js
Introduction
This tutorial will cover all the details (resources, tools, languages etc) that are necessary to build a complete and operational CryptoCoin Faucet You will be guided through all the steps and concepts, starting from the basic ones like setting up the right tools and frameworks to the more advanced topics related to the development. And ultimately you will be able to create your own Coin Faucet or similar cryptocurrency app without any difficulty.
What are the requirements?
- HTML/CSS
- MongoDB
- Basic javascript and SQL
- Node.js
- Vue.js
- And the most important is: desire to learn
What is the target audience?
- You want to build apps on top of crypto currencies
- Learners who want to enhance their knowledge about crypto currencies
- This course will help people who want to improve adoption of their own currencies
When are the streaming sessions (streaming schedule)?
5pm EST New York time every night
Project Outline
Session 1: Introduction & Setting-up the Environment
In this session, we'll look at what we're trying to achieve in this tutorial and what we shall learn.
- What are faucets?
- Setting up the project
- Getting our coin ready
- Creating our project structure
Session 2: Front-End
In this session, we will implement the majority of the front end work needed for our faucet.
- HTML, CSS
- Vue.js for dynamic pages
- Bulma for the style
- Why use a captcha
- Looking at CoinHive
- Adding it to Vue.js
Session 3: Backend & API
In this session will cover building the core features of the API.
- Setting up our API routes
- Adding our Database Models
- Getting ready to create a coin service
- Taking a look at JSON RPC
- Making calls to our coin daemon.
Session 4 Configuration
In this session we'll finish off any tasks we need to tie the front end with the backend and configure our project so we get the fairest reward structure.
- Adding in the API calls
- Selecting our reward ratio for the coin
- Setting up the cron task
- Adding in email alerting
Session 5: Deployment In this session, we'll deploy our application
- Loading it onto Docker
- Uploading to docker hub
- Running on our server