Skip to content

catze-labs/r3plica-server

Repository files navigation

image

r3plica-server

Introduction

r3plica is a project born from Coinbase Hackathon, and this repository is the back-end of r3plica project.

Our server implemented based on Nest & Prisma ORM.
For interacting with blockchain, we use web3.js & @ethersproject/wallet library.

Tech Stack

Language

TypeScript JavaScript

Framework

NestJS

Database & ORM

MySQL PrismaORM

Core Library

Web3.js


Installation

# Install dependencies
$ yarn

How to run

Before running server, you need .env file in root directory.
Please make .env file.

.env file example

PORT=

ENVIRONMENT=
DATABASE_URL=
PLAY_FAB_X_SECRET_KEY=
PLAY_FAB_TITLE_ID=
PLAY_FAB_HOST=

APOTHEM_PROVIDER=
SLACK_WEBHOOK_URL=

Running commands:
# DB Setting
# Before run this command, you have to fill .env file first.
yarn db-setup


# Running server command options
# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

If you run server successfully, you can see Swagger API document in http://localhost:8081/docs

Screen Shot 2022-12-19 at 6 40 39

Support

This repository a is part of r3plica project SDK.
Another repository links are down below;

Contact

License

MIT licensed

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages