express boilerplate
1.0.0
Node.js、Express.js、およびSequelize-CLIサポートを使用して、RESTFUL APIを構築するためのテンプレートリポジトリボイラープレート。このテンプレートには、必要に応じてリポジトリに融合するための一般的な機能固有の分岐が含まれています。
テンプレートからリポジトリを作成します
プロジェクトのルートに.ENVファイルを作成し、リファレンスチェック用の値で値を入力します。
cd <project_name>
cp .env.example .env
npm install
npx sequelize db:migrate
npx sequelize db:seed:all
npm run dev
npm start
http://localhost:4040に移動します
npm run format
npm run format:fix
npm run lint
npm run lint:fix
ブランチをマージして、以下にリストされている機能を実装します
feat/swagger-docsfeat/twilio-SMSfeat/sendgrid-mailfeat/AWS-S3-bucketfeat/socketsfeat/node-cronci/jest-test ブランチなしでリポジトリを作成した場合、またはすべてのブランチを取得せずに特定の機能ブランチを取得する場合は、以下のコマンドを実行して特定のブランチを取得できます。
git remote add template <template_repository_url>
git fetch template <template_repo_branch_name>
git checkout <template_repo_branch_name>
git push origin <template_repo_branch_name>
上記のコマンドを実行することにより、Specfic Branchがリポジトリにプッシュされます。