https://github.com/kushalseth/sailjs_nodejs_blockchain
Project to create the SailJS API for Blockchain
https://github.com/kushalseth/sailjs_nodejs_blockchain
blockchain sails sailsjs webapi
Last synced: 9 months ago
JSON representation
Project to create the SailJS API for Blockchain
- Host: GitHub
- URL: https://github.com/kushalseth/sailjs_nodejs_blockchain
- Owner: kushalseth
- Created: 2018-10-05T20:23:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-06T21:36:18.000Z (over 7 years ago)
- Last Synced: 2025-02-15T02:42:51.228Z (11 months ago)
- Topics: blockchain, sails, sailsjs, webapi
- Language: JavaScript
- Size: 1.08 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RESTful Web API with Node.js Framework
> This project introduces you to the fundamentals of web APIs with Node.js frameworks. Using your own private blockchain to create a web API is a huge first step toward developing your own web applications that are consumable by a variety of web clients.
> For this project, you’ll build a RESTful API using a Node.js framework that will interface with the [private blockchain!](https://github.com/KushalGH/private_blockchain_leveldb).
## STEP 1: SELECT Node.JS framework
> Created basic hello world using ExpressJS, SailsJS and HapiJs [Link](https://github.com/KushalGH/webservices_nodeJS)
> Reason I have selected SailsJs is:
- Sails makes it easy to build custom, enterprise-grade Node.js apps.
- Sails is the most popular MVC framework for Node.js
## Step 2: Configure API Service (SAILS.JS)
> Steps to install Sails.js
```
mkdir sailsapi
cd sailsapi
npm init
sails new api-project
cd api-project
sails lift
```