This is a Next.js project bootstrapped with create-next-app
.
- Click the icon or link: https://discord.gg/mg4mvCjE
- Click the icon or link: https://www.figma.com/file/Fiz0RIIZkZsgnzGDPb603b/Mentor-Match?type=design&node-id=8-2&mode=design
- Open your terminal or command prompt.
- Navigate to the directory where you want to clone the repository.
- Run the following command to clone the repository:
git clone <repository-url>
Replace <repository-url>
with the actual URL of the repository.
- Navigate to the cloned repository directory:
cd <repository-name>
Replace <repository-name>
with the name of your repository.
- Install the project dependencies:
npm install
Note: Make sure you are in the root of your project directory before running the above command.
After cloning the repository, it's a good practice to create a new branch for your feature work. Here's how you can do it:
- Navigate to the cloned repository directory.
- Run the following command to create a new branch:
git checkout -b <branch-name>
Replace <branch-name>
with the name of your new branch.
Remember, it's a good practice to name the branch something that describes the feature you're working on.
- Either run it locally or create a cloud DB.
docker run --name mongodb -d -p 27017:27017 mongodb/mongodb-community-server:latest
cp .env.example .env.local
- Modify the
MONGO_URI
string to your DB connection (the default string is for local DB connection)
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.
npm run format
Run the above script to have Prettier format all files in the codebase.
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.