Note
The project is currently in active development, so occasional issues or disruptions can be expected.
To run this project locally, follow the steps below:
-
Fork the repository to your GitHub account.
-
Clone the forked repository to your local machine:
git clone https://github.com/yoyocharlie/nextMotion.git
cd nextMotion
-
Install the necessary dependencies using
pnpm:pnpm install
-
Create a
.envfile in the root directory. -
You only need two environment variables (which will be used for nodemailer):
MY_EMAILAPP_PASSWORD
-
This project is using
gmailfor the nodemailer transport service, so you'll want to create an app password here. This allows your application (this portfolio) to send emails using your Gmail account.
-
Start the development server:
pnpm dev
-
Your application should now be running on
http://localhost:3000.
Since our /api/email endpoint requires a server to execute the nodemailer functionality, you'll want to deploy your project through a service that supports serverless functions. Personally, I used Vercel.
