Skip to content

0xDiscord is a web3 oriented rewarding community project.

License

Notifications You must be signed in to change notification settings

codestates/beb-02-0xDiscord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

0XDiscord · GitHub license npm version PRs Welcome

0xDiscord is a web3 oriented rewarding community project.

Requirements

ui server

# npm install
curl -O -L https://npmjs.org/install.sh

# nvm node version manager install (recommend)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash

# node version 16
nvm install 16
nvm use 16

api server

  1. python install

    https://www.python.org/downloads/

  2. development environment

    pip v22.0.3 python v3.9

Start

ui server

cd ui

npm ci
npm run start


# if you need configuration

cd ui/src/config/config.json
vi config.json

api server

cd api

## package install
pip insatll -r requirements.txt


## configuration before start
cd api/config

### db configuration
cd api/config
vi db_secrets.json

### web3 configuration
cd api/config
vi web3_secrets.json

## api server start
uvicorn main:app --reload

api server document

## server start
uvicorn main:app --reload

## view document open 
open serverurl:port/docs

Process

example

License

0XDiscord is MIT licensed