Skip to content

bitcat365/oasisscan-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oasisscan-api

This is the oasisscan API. Previously, this API was written in Java. Due to compatibility issues, this project has been refactored into Go to better match the oasis-core.

This project is developed based on go-zero.

Data storage uses PostgreSQL, and no longer uses MySQL and Elasticsearch.

Deployment

  1. Install PostgreSQL

  2. Initialize SQL script

    Execute the contents of docs/sql/init.sql in PostgreSQL

  3. Configuration Files

    Copy and rename the following file names: job/etc/example.yaml and api/etc/exmaple.yaml like job.yaml and oasisscan-api.yaml, and then modify the database and node configuration.

  4. Build Project

    cd job
    go build -o job
    cd api
    go build -o api
  5. Run

    job -f job/etc/job.yaml
    api -f api/etc/oasiscan-api.yaml

Document

swagger

changelog

About

oasisscan.com backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages