We used Mailchimp API for sending newsletter to our subscribers. So this REST API is due to registering new subscribers to MailChimp.
- Node.js
- Typescript
- Express.js
- Clone this repo
- Install dependencies with
yarn install
- Rename
.env.sample
to.env
- Update variables in
.env
file - Run project in development mode with
yarn dev
- [PREDISPOSITION]: Install Docker on deployment server
- Clone this repo to deployment server
- Rename
.env.sample
to.env
- Update variables in
.env
file - Run
./deploy.sh
script - App is default running on port
8001
All commands are specified inside package.json
file
Running app in development
mode (auto-compile & auto-restart after change).
Builds app into dist
folder
Running built app from dist
folder