umbriel
πͺ Mail sending microservice with Node.js, TypeScript and MongoDB
νμΌ νμκΈ°
μ΅μ’ λ²μ λ€μ΄λ‘λ (.zip)- lint.yml
- server.yml
- tsc.yml
- web.yml
- launch.json
- auth.ts
- logger.ts
- mail.ts
- mongo.ts
- queue.ts
- redis.ts
- sentry.ts
- upload.ts
- contact.ts
- tag.ts
- Contact.ts
- Tag.ts
- AddContactInTeamService.ts
- ChangeContactEmailService.ts
- ChangeContactSubscriptionStatusService.spec.ts
- ChangeContactSubscriptionStatusService.ts
- ChangeTagTitleService.ts
- CreateContactService.spec.ts
- CreateContactService.ts
- DeleteContactService.ts
- GetRecipientsFromTags.ts
- ImportContactsService.spec.ts
- ImportContactsService.ts
- RemoveContactFromTag.ts
- SearchContactsService.ts
- SearchTagsService.ts
- unsubscribed.html
- MessageJob.ts
- message.ts
- template.ts
- Message.ts
- Recipient.ts
- Template.ts
- CreateMessageService.spec.ts
- CreateMessageService.ts
- CreateTemplateService.spec.ts
- CreateTemplateService.ts
- DeleteMessageService.ts
- DeleteTemplateService.ts
- GetMessageService.ts
- GetTemplateService.ts
- ParseTemplateService.spec.ts
- ParseTemplateService.ts
- ProcessQueueService.spec.ts
- ProcessQueueService.ts
- SearchMessagesService.ts
- SearchTemplatesService.ts
- SendMessageService.spec.ts
- SendMessageService.ts
- UpdateTemplateService.ts
- sender.ts
- Sender.ts
- CreateSenderService.spec.ts
- CreateSenderService.ts
- DeleteSenderService.ts
- GetSenderService.ts
- SearchSendersService.ts
- UpdateSenderService.ts
- session.ts
- User.ts
- AuthenticateService.spec.ts
- AuthenticateService.ts
- WinstonProvider.ts
- FakeProvider.ts
- MailtrapProvider.ts
- SESProvider.ts
- BullProvider.ts
- LoggerProvider.ts
- MailProvider.ts
- QueueProvider.ts
- index.ts
- providers.ts
- Service.ts
- TokenExpiredError.ts
- v1.ts
- ensureAuthenticated.ts
- app.ts
- server.ts
- connection.ts
- runner.ts
- MongoMock.ts
- setupTests.ts
- .gitkeep
- .dockerignore
- .env.example
- .eslintignore
- .eslintrc.json
- .gitignore
- docker-compose.yml
- Dockerfile
- jest-mongodb-config.js
- jest.config.js
- LICENSE
- package.json
- prettier.config.js
- process.yml
- tsconfig.json
- yarn.lock
- favicon.png
- index.html
- robots.txt
- logo-full.svg
- logo-u.svg
- index.tsx
- index.tsx
- index.tsx
- styles.ts
- index.tsx
- styles.ts
- index.tsx
- styles.ts
- index.tsx
- index.tsx
- styles.ts
- index.tsx
- styles.ts
- index.ts
- index.tsx
- styles.ts
- index.tsx
- styles.ts
- index.tsx
- auth.tsx
- default.tsx
- index.tsx
- styles.ts
- index.tsx
- styles.ts
- index.tsx
- styles.ts
- index.tsx
- styles.ts
- index.tsx
- styles.ts
- index.tsx
- styles.ts
- index.tsx
- styles.ts
- index.tsx
- styles.ts
- index.tsx
- styles.ts
- index.tsx
- styles.ts
- main.routes.tsx
- Route.tsx
- axios.ts
- history.ts
- usePaginatedRequest.ts
- useRequest.ts
- global.ts
- App.tsx
- index.tsx
- react-app-env.d.ts
- .editorconfig
- .eslintignore
- .eslintrc.json
- .gitignore
- package.json
- prettier.config.js
- tsconfig.json
- yarn.lock
- .editorconfig
- .eslintignore
- .eslintrc.json
- .gitignore
- .npmrc
- commitlint.config.js
- jest.config.js
- package.json
- prettier.config.js
- README.md
- renovate.json
- tsconfig.json
- yarn.lock
# μ€μΉ κ°μ΄λ
1. μ½λ λ΄λ €λ°κΈ°
git clone https://github.com/Rocketseat/umbriel
κΉνλΈμμ νλ‘μ νΈ μ½λ μ 체λ₯Ό λ΄ μ»΄ν¨ν°λ‘ λ΄λ €λ°μ΅λλ€.
cd umbriel
λ°©κΈ λ΄λ €λ°μ νλ‘μ νΈ ν΄λ μμΌλ‘ μ΄λν©λλ€.
2. Docker
μ¬μ μΆμ²μ¬μ μ€λΉλ¬Ό
- Git GitHubμμ νλ‘μ νΈ μ½λλ₯Ό λ΄λ €λ°μΌλ €λ©΄ νμν©λλ€.
- Docker Desktop 컨ν μ΄λλ₯Ό λΉλνκ³ μ€ννλ €λ©΄ νμν©λλ€. μ€μΉ ν μ€νν΄μ λ°±κ·ΈλΌμ΄λμ μΌλμΈμ.
β οΈ μ΄ νλ‘μ νΈλ κ·λͺ¨κ° ν° μ μ₯μλΌ, μ΄ λ°©λ²μ΄ μ€μ ν΅μ¬ μ νμ΄ μλλΌ λ΄λΆ νμ ν¨ν€μ§λ₯Ό κ°λ¦¬ν€λ κ²μΌ μ μμ΅λλ€. README μ 체λ₯Ό ν¨κ» νμΈν΄λ³΄μΈμ.
docker compose -f packages/server/docker-compose.yml up -d --build
compose μ€μ νμΌμ μ μλ μλΉμ€λ€μ λμμΌλ‘ λͺ λ Ήμ μ€νν©λλ€.
ν°λ―Έλμ docker compose ps λ₯Ό μ
λ ₯ν΄ μ»¨ν
μ΄λλ€μ΄ Up μνμΈμ§ νμΈνμΈμ. READMEμ ν¬νΈ λ²νΈκ° μ νμλ€λ©΄ λΈλΌμ°μ μμ http://localhost:ν¬νΈλ²νΈ λ‘ μ μν΄λ³΄μΈμ.
3. Node.js
μ¬μμ¬μ μ€λΉλ¬Ό
npm install
package.jsonμ λͺ μλ λΌμ΄λΈλ¬λ¦¬λ€μ λ΄λ €λ°μ μ€μΉν©λλ€.
npm start
κ°λ°/μ€ν μλ²λ₯Ό μΌλλ€.
λͺ
λ Ήμ΄ μ€ν ν ν°λ―Έλμ λνλλ μ£Όμ(λ³΄ν΅ http://localhost:3000 νν)λ₯Ό λΈλΌμ°μ μμ μ΄μ΄λ³΄μΈμ.
// repository documentation
Was this content helpful?
(0 ratings)
