Skip to content

BoBeenLee/onesecondmusicgame-front

Repository files navigation

OneSecondMusicGame

OneSecondMusicGame · Build Status npm PRs Welcome GitHub license

음악, 1초, 1초듣기, 1

폴더 구조

onesecondmusicgame-front
├── src
├──── apis           # rest api 요청들
├──── components     # 컴포넌트 단위 분리
├──── configs        # firebase, 내부환경..etc 설정 관련 파일들
├──── decorators     # 추상화된 데코레이터
├──── hocs           # higher order component
├──── hooks          # react hooks 함수들
├──── images         # 이미지 저장소
├──── interfaces     # ts 공통인터페이스
├──── screens        # 앱내 화면들
├──── stores         # 도메인 기반 stores
├──── styles         # 컬러셋, 테마, zIndex
├──── utils          # 유틸리티 함수들
├── web              # 웹뷰용 gatsby프로젝트
├── storybook        # 스토리북 환경설정
├── typings          # global 타입 정의
└── README.md

Storybook

Installing / Getting started

npm install --legacy-peer-deps

# ios
cd ios
pod install

IOS Running

npm run ios

Android Running

npm run android

Developing

Built With

React, React Native ...

Prerequisites

Xcode 최신버젼, node 10이상

Deploying / Publishing

  • 코드푸쉬 apply 예시
code-push release-react onesecondmusicgame/onesecondmusicgame-android android -d Production -m true --privateKeyPath ~/private.pem --description "헬로우 월드44"

code-push release-react onesecondmusicgame/onesecondmusicgame-ios ios -d Production -m true --privateKeyPath ~/private.pem --description "헬로우 월드44" --plistFile "ios/RNApp/Info.plist"

give instructions on how to build and release a new version In case there's some step you have to take that publishes this project to a server, this is the right time to state it.

packagemanager deploy your-project -s server.com -u username -p password

And again you'd need to tell what the previous code actually does.

Versioning

We can maybe use SemVer for versioning. For the versions available, see the link to tags on this repository.

Configuration

config.json 파일 환경 설정

  • development
  • staging
  • production
  • storybook

Tests

npm test

Style guide

stylelint, eslint

Api Reference

https://github.com/pritishvaidya/react-native-soundcloud-waveform