Skip to content

ZNS Connect API core: domain NFT metadata service, domain image endpoint.

Notifications You must be signed in to change notification settings

ZNS-Connect/zns-api-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👷‍♂️🚧 ZNSConnect API 🚧👷‍♂️

Getting started

Prerequisites

Clone this repo.

git clone https://github.com/ZNS-Connect/zns-api-core.git

Installation

install dependencies

npm install

Usage

To run locally for development

npm start

To build a bundled transpiled javascript app

npm run build

You should see the output in your terminal:

# npm start
> nodemon

[nodemon] 2.0.2
[nodemon] to restart at any time, enter `rs`
[nodemon] watching dir(s): src/**/* main.ts
[nodemon] watching extensions: ts
[nodemon] starting `ts-node ./main.ts`
Server running at: http://mypc.local:3000

Deployment

Deploying manually

Build the bundle: leveraging webpack, we can compile our code and bundle it together so you no longer need to maintain dependencies in production environment.

npm run bundle

Above script will produce dist folder that contains your compiled application. you can now simply node ./dist/index.js or use pm2 as your process manager pm2 start ./dist/index.js

Docker

For a devOps, you cannot ignore the contributions made by Docker to bring inner peace in their lives.

TODO: Docker deployment guide

In progress.

TODO

  • Stop being lazy and move the kit to opensource.
  • Configure basic structure
  • Typescript
  • @Hapi/hapi v19
  • LICENSE
  • Folder structure
  • supertest integration
  • Write Dockerfile
  • Write docker-compose.yml file
  • Write FAQ
  • Write Features
  • Configure TravisCI

Features

TODO: Features In progress.

FAQ

TODO: FAQ In progress.

Support

Use any of the following medium for support:

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •