🗺 Source code of https://crisis.yuiseki.net/ . Web service that collects disaster-related news articles and displays them on a map.
Do What The F*ck You Want To Public License
19
stars
3
forks
source link
crisis.yuiseki.net
概要
開発時の注意
husky
という、コミット・プッシュ前に自動的に ESLint と tsc を実行する Git Hook が使われています
- ESLint と tsc でエラーになるコードが含まれている場合にはコミットができないので注意してください
開発環境
- Node.js v16.3.0
- MongoDB v4.4.6
基本的な開発方法
- MongoDB サーバーを用意する
- ローカルで MongoDB を動かしても良いですが、MongoDB Atlas の無料枠でも問題ありません
- リポジトリを Fork する
.env.example
を元に .env
ファイルを設置する
npm ci
で依存関係をインストールする
npm install
はなるべく使わないでください
npm run dev
で開発サーバーを起動する
npm run lint
で ESLint による lint を実行する
npm test
で jest によるテストを実行する
バッチジョブの実行
以下のバッチジョブが存在します
npm run job:river
npm run job:dispatch
npm run job:massmedia
npm run job:hatebu