Hi! this is an apartment scrapping app that will help people found an apartment. With this script you can add criteria and it will generate URL that you can send to yourself via Sendgrid. It's build with Koa & Typescipt starter.
Koa is a new web framework designed by the team behind Express, which aims to be a smaller, more expressive, and more robust foundation for web applications and APIs. By leveraging async functions, Koa allows you to ditch callbacks and greatly increase error-handling. Koa does not bundle any middleware within its core, and it provides an elegant suite of methods that make writing servers fast and enjoyable.
1- Download and Install the latest LTS version of nodeJS
2- Choose you prefered IDE. I recommendVisual Studio Code or Webstorm
3- Clone this repo on your pc
4- Open a terminal and execute : npm install
5- Download and unzip the latest (Redis version)[https://github.com/dmajkic/redis/downloads] then start the redis server
6- Create a .env
file at the root of your project and create these variables :
SEND_MAIL_FROM = [email protected]
SEND_MAIL_TO = [email protected]
NODE_ENV = development
5- Run the app with npm run serve
and you will get generated link with a few recommandation :
6- Enjoy 😊!
1- Create a Sendgrid account and follow the get started guide.
2- Add these variable to your .env
file at the root of your project. You can find these value from SMTP relay setup in Sendgrid
SENDGRID_USERNAME =
SENDGRID_PASSWORD =
3- Change NODE_ENV
to production
4- Enjoy :)
- Kijiji
- craigslist
- centris
- others
- Koa
- TypeScript
- Node JS
- Express JS
- Nodemailer
- Redis
- Thx to Alex G. for the help