Code Interns is a job board designed for connecting interns with potential employers. It allows for CRUD (CREATE, READ, UPDATE, DELETE) operations and serves as my capstone project.
Front-end: React, Pure CSS (no Bootstrap or Tailwind), Next.js
Back-end: Node.js, Firebase
Deployment: Vercel
- Node.js v20.9 or later
- Next.js v14.0.3 or later
- Clone the repository to your local machine.
- Navigate to the project directory.
- Install dependencies by running
npm install
. - Start the development server by running
npm run dev
. You can also useyarn dev
orpnpm dev
. - Open your browser and navigate to
http://localhost:3000
to see the application in action.
- Generate a Client ID and Client Secret.
- Add Authorized JavaScript origins:
http://localhost:3000
yourapp.vercel.app
(if using Vercel)
- Add Authorized redirect URIs:
http://localhost:3000
http://localhost:3000/api/auth/callback/google
- If using Vercel:
yourapp.vercel.app
yourapp.vercel.app/api/auth/callback/google
- Open
.env
. - Set the following variables:
GOOGLE_ID
GOOGLE_CLIENT_SECRET
NEXTAUTH_URL
tohttp://localhost:3000
NEXTAUTH_SECRET
(Generate usingopenssl rand -base64 32
)
- The easiest way to deploy this Next.js application is by using the Vercel Platform, created by the makers of Next.js
- For detailed instructions, check out the Next.js deployment documentation
- If using Vercel, change the
NEXTAUTH_URL
toyourapp.vercel.app
in the "Environment Variables" tab in the project settings on the Vercel dashboard
This project is open source and available under the MIT License