The prototype of daily report tool, which is born for aggregating and reporting daily github commits.
You can configure env like this.
export let env = {
email: {
account: "your-email-address@gmail.com",
password: "Your email password",
to: "report-email-address@gmail.com"
}
};
You can configure github account like this.
export let account = {
username: "Your github username",
password: 'Your github password'
};
Before continue, you have to install yarn
first by Homebrew or other ways.
- install [typescript],
yarn global add typescript
. - install nodemon,
yarn global add nodemon
. - install ts-node for development.
Run npm run build
to buld, run npm run dev
for development, and run npm run prod
to build and run this project in server.
- Add necessary types