Skip to content

aikhanj/DevmoLink

Repository files navigation

devmolink

This is a Next.js project bootstrapped with create-next-app.

Getting Started

Prerequisites

  • Node.js 18.x or later
  • npm or yarn package manager
  • Google Cloud Console account for OAuth credentials

Environment Setup

  1. Clone the repository
git clone [repository-url]
cd devmolink
  1. Install dependencies
npm install
# or
yarn install
  1. Set up environment variables
# Copy the example env file
cp .env.example .env

Configure the following variables in your .env file:

  • GOOGLE_CLIENT_ID: Get from Google Cloud Console
  • GOOGLE_CLIENT_SECRET: Get from Google Cloud Console
  • NEXTAUTH_URL: Use http://localhost:3000 for local development
  • NEXTAUTH_SECRET: Generate using openssl rand -base64 32
  • NEXT_PUBLIC_USE_MOCK_DATA: Set to false for development
  • NEXT_PUBLIC_ENVIRONMENT: Set to development
  • NEXT_PUBLIC_TEST_MODE: Set as needed

To get Google OAuth credentials:

  1. Go to Google Cloud Console
  2. Create a new project or select an existing one
  3. Enable the Google OAuth2 API
  4. Create OAuth 2.0 credentials (Web application type)
  5. Add authorized redirect URIs:
    • http://localhost:3000/api/auth/callback/google (development)
    • https://your-production-domain.com/api/auth/callback/google (production)

Running the Development Server

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Project Structure

  • /src/app - Next.js 13+ app directory
    • /api - API routes
    • /components - Reusable React components
    • /utils - Utility functions

Important Notes

  • Never commit the .env file to version control
  • Each developer should maintain their own environment variables
  • Production credentials should be managed through secure systems
  • Regular security updates and credential rotation is recommended

Learn More

To learn more about Next.js, take a look at the following resources:

Deploy on Vercel

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.

built by aikhan jumashukurov princeton cs · ai researcher · kyrgyz government innovation recognition.

About

A Next.js developer-focused collaboration platform with end-to-end encrypted messaging, Farcaster integration, and secure photo handling. Built with Firebase, NextAuth, and Web3 wallet connectivity for tech professionals to connect, match, and collaborate.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors