B2D Venture aims to create a robust online platform designed to connect investors with companies seeking funding. The platform will facilitate seamless transactions, offer detailed company profiles, and provide administrative oversight. The project is expected to last approximately four months, with a budget of 1 million baht.
Project wiki documents Click Here.
This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
Variable | Description |
---|---|
NEXTAUTH_SECRET |
A secret key used to sign JWT tokens for authentication sessions. |
NEXTAUTH_URL |
The base URL of your Next.js application, typically http://localhost:3000 for development. |
To get google oauth client id and secret key follow these steps.
- Go to Google Cloud Platform
- Create a new project
- Go to Credentials (On the left side bar under APIs & Services)
- Create Credentials
- Select OAuth Client ID
- Select Web Application
- Put your credentials in .env file in the root directory of the project
- Go to OAuth consent screen
- Add your domain to Authorized domains
- Add your email to Test users
Variable | Description |
---|---|
GOOGLE_OAUTH_CLIENT_ID |
The client ID for your Google OAuth application. |
GOOGLE_OAUTH_SECRET |
The client secret for your Google OAuth application. |
To get neon database url follow these steps.
- Go to NEON (Read Documentation)
- Create a new project
- Create a Database
- Go to Dashboard and copy psql url and put it in .env file in the root directory of the project
Variable | Description |
---|---|
DATABASE_URL |
Postgres Database NEON url |
Follow the official Uploadthing Documentation for setup instructions.
Variable | Description |
---|---|
UPLOADTHING_TOKEN |
Authentication token for integration with the UploadThing service. |
Follow the official Google reCAPTCHA Documentation for setup instructions.
Variable | Description |
---|---|
RECAPTCHA_PUBLIC_KEY |
The public site key for Google reCAPTCHA, used in the HTML served to users. |
RECAPTCHA_SECRET_KEY |
The secret key for verifying reCAPTCHA responses between your site and Google. |
Variable | Description |
---|---|
EMAIL_USER |
The email address used to send emails via Nodemailer. |
EMAIL_PASSWORD |
App-specific password for the email account used in Nodemailer authentication (use app-specific security). |