Mylo is an AI-powered web application that provides newsletter service to individuals and businesses to start their newsletter for their users or customers.
-
Clone the repo and install the dependencies
git clone https://github.com/amit-ksh/mylo.git cd mylo
-
Rename the
.env.example
to.env
and fill up all the variables -
Getting all the credentials (Follow the guide)
- Github: Guide
- Google: Guide
- Once you created the credentials for your GCP app then, add the following:
- Authorised JavaScript origins (Add URI): http://localhost:3000
- Authorised redirect URIs (Add URI):
- Once you created the credentials for your GCP app then, add the following:
- Azure AI: Guide
- Nylas:
- Quickstart: Guide
- Now, go to
App Settings
and add the following http://localhost:3000/api/oauth/connect/ in the Callback URI..
-
Installing dependencies and creating DB tables:
npm install (this will both install dependencies and create tables) or npx prisma migrate dev [If tables are not created, run this]
-
Run the development server:
npm run dev