Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.78 KB

README.md

File metadata and controls

50 lines (31 loc) · 1.78 KB

FeedCatch Monorepo

This project is using NX, NestJS, PlanetScale, Stripe, NextJS, TailwindCSS and more. What you need to have on your machine:

Instructions to run

Install all the packages and tools above, then clone the project, go to the folder and install the dependencies

pnpm install

After installing you can start the database and the checkout.

pnpm run:db
pnpm run:checkout # this is optional

To run the projects you can use the following commands

pnpm run:services
pnpm run:app

You can access the services running on URL http://localhost:3000.

You can access the web app running on URL http://localhost:4200.

Other points

How to test the checkout

To test via API ask Gus for the Postman collection.

For payment: you may use those default tests payment methods listed on Stripe Docs.

Creating email templates

We're using Resend + React Email to handle email templates. The templates should be created on libs/react-email/emails folder and consumed from the place you want using the alias @email/<your_path_here>.

The static files comes from Thon Labs CDN, so every static should be stored there and consumed on emails using the domain https://static.thonlabs.io.

Note for sending email: it's missing create a encapsulation class yet, but it's on backlog. So it's possible to see some example on auth or checkout services.