Your personal mentor. Always on.
theNextMe helps Nigerian university students land internships, build networks, and take real career steps — powered by Claude AI.
Most career apps give you a to-do list. theNextMe gives you a coach.
The app learns your course, university, target companies, and goals — then becomes a proactive partner: nudging you about overdue tasks, generating personalised outreach messages, prepping you for networking calls, and translating your coursework into resume bullets that actually get read.
Conversational career coaching powered by Claude. The coach knows your profile — your goals, your university, your challenges — and gives specific, actionable advice for the Nigerian job market. Falls back to intelligent scripted responses when Claude is unavailable.
Set career goals (internship, certification, networking, etc.) with deadlines. The AI auto-generates a 6-task roadmap with due dates spread proportionally across your timeline. Tasks are fully manageable and linked to goals.
AI-powered professional discovery using LinkedIn X-Ray search (via SerpAPI). Surfaces relevant professionals based on your course and target companies. Falls back to course-aware mock profiles when the search API is unavailable. All contacts are saved to your network.
One-click AI-generated outreach messages personalised to each contact. Drafts can be improved by Claude, marked as sent, and tracked by status. Includes a scheduler that nudges you when drafts go unsent for more than 2 days.
Before a networking call, get a structured briefing: background on the contact, an ice-breaker question, what to ask for, what to avoid, and why they might say yes. Generated by Claude, with sensible fallbacks.
Paste your coursework or transcript. The AI translates it into strong, ATS-friendly resume bullets for your target role — with action verbs, technical keywords, and realistic quantification. Rates each bullet by strength.
14-day task completion chart, overall stats (total tasks, completion rate, active goals, active days), and a streak tracker.
A background scheduler checks all users every 2 hours (every 30s in dev mode) and generates nudges for: overdue tasks, unsent drafts older than 2 days, and users inactive for 3+ days. Nudges are stored in the database and polled by the frontend.
On-demand AI check-ins that query your actual data — overdue tasks, upcoming deadlines, connection count, unsent drafts — and generate a personalised message referencing specific items. Not a generic greeting.
| Layer | Technology |
|---|---|
| Frontend | Vanilla JS, HTML, CSS (no framework) |
| Backend | Node.js, Express |
| Database | PostgreSQL |
| AI | Anthropic Claude (claude-sonnet-4-20250514) |
| Auth | JWT (bcryptjs + jsonwebtoken) |
| Search | SerpAPI (LinkedIn X-Ray) |
| Scheduling | Node.js setInterval (no external queue) |
/
├── index.html
├── js/
│ ├── api.js # Unified API client, dual JWT token management
│ ├── app.js # App shell, sidebar, bottom nav, session boot
│ ├── components.js # UI primitives (UI.*) + Router
│ ├── config.js # Course list, university list, course→company map
│ ├── state.js # Client-side state, course-aware defaults
│ ├── dashboard.js # Dashboard page
│ ├── landing.js # Landing / onboarding flow
│ ├── goals.js # Goals page
│ ├── chat.js # AI Coach chat page
│ ├── network.js # Networking page
│ ├── outreach.js # Outreach drafts page
│ ├── prep.js # Conversation prep page
│ ├── analytics.js # Analytics page
│ └── profile.js # Profile & settings pages
├── main.css
│
└── server/
├── server.js # Express app entry point
├── package.json
├── middleware/
│ └── auth.js # JWT verification middleware
├── routes/
│ ├── auth.js # Register, login, /me
│ ├── goals.js # Goal CRUD
│ ├── tasks.js # Task CRUD + toggle + stats
│ ├── network.js # Contacts, connect toggle, seed
│ ├── outreach.js # Draft CRUD + AI improve
│ ├── chat.js # AI coach conversation + history
│ ├── prep.js # Conversation prep generation
│ ├── profile.js # Profile, preferences, goals, companies
│ ├── discover.js # LinkedIn professional discovery
│ ├── checkin.js # Stateful AI check-ins
│ ├── nudges.js # Nudge feed + dismiss
│ ├── analytics.js # Weekly activity + stats
│ └── ai-features.js # Draft gen, goal roadmap, Resume AI
├── services/
│ ├── claude.js # Claude API wrapper (all AI calls)
│ ├── search.js # SerpAPI LinkedIn X-Ray search
│ └── scheduler.js # Proactive nudge background job
└── config/
└── db.js # PostgreSQL pool + testConnection
- Node.js 18+
- PostgreSQL 14+
- An Anthropic API key (optional — app works without it using fallback responses)
- A SerpAPI key (optional — discover uses mock data without it)
git clone https://github.com/your-username/thenextme.git
cd thenextme/server
npm installCreate a .env file inside the server/ directory:
# Required
DATABASE_URL=postgresql://user:password@localhost:5432/thenextme
JWT_SECRET=your-super-secret-jwt-key-change-this
JWT_EXPIRES_IN=7d
PORT=3001
# Optional — AI features fall back gracefully without these
ANTHROPIC_API_KEY=sk-ant-...
SERP_API_KEY=your-serpapi-key
# Set to 'production' to lock down CORS and use 2-hour nudge intervals
NODE_ENV=development# Create the database
createdb thenextme
# Run the schema initialisation script
node db/init.js# Development (auto-restarts on file changes)
npm run dev
# Production
npm startThe server starts on http://localhost:3001. Check http://localhost:3001/api/health to verify the database connection.
Open index.html directly in your browser, or serve it from a static file server:
# From the project root
npx serve .https://chimerical-belekoy-a5c1cc.netlify.app/
All endpoints are prefixed with /api. Protected routes require a Bearer token in the Authorization header.
| Method | Endpoint | Auth | Description |
|---|---|---|---|
| POST | /auth/register |
No | Create account |
| POST | /auth/login |
No | Login, returns JWT |
| GET | /auth/me |
Yes | Get current user + preferences |
| Method | Endpoint | Auth | Description |
|---|---|---|---|
| GET | /goals |
Yes | List goals with task stats |
| POST | /goals |
Yes | Create goal |
| PUT | /goals/:id |
Yes | Update goal |
| DELETE | /goals/:id |
Yes | Delete goal |
| Method | Endpoint | Auth | Description |
|---|---|---|---|
| GET | /tasks |
Yes | List tasks (filter by goalId, done, limit) |
| GET | /tasks/stats |
Yes | Completion stats |
| POST | /tasks |
Yes | Create task |
| PUT | /tasks/:id |
Yes | Update task |
| PATCH | /tasks/:id/toggle |
Yes | Toggle done/undone |
| DELETE | /tasks/:id |
Yes | Delete task |
| Method | Endpoint | Auth | Description |
|---|---|---|---|
| POST | /chat |
Yes | Send message, get AI reply |
| GET | /chat/history |
Yes | Fetch conversation history |
| DELETE | /chat |
Yes | Clear chat history |
| GET | /checkin |
Yes | Generate stateful AI check-in |
| POST | /discover |
Yes | Find professionals by goal title |
| POST | /prep/:contactId |
Yes | Generate conversation prep |
| POST | /ai/draft-for-contact |
Yes | Generate outreach draft |
| POST | /ai/goal-roadmap/:goalId |
Yes | Generate task roadmap for goal |
| POST | /ai/resume-translate |
Yes | Translate coursework to resume bullets |
| Method | Endpoint | Auth | Description |
|---|---|---|---|
| GET | /network |
Yes | List contacts (seeds defaults for new users) |
| POST | /network |
Yes | Add custom contact |
| PATCH | /network/:id/connect |
Yes | Toggle connection status |
| GET | /outreach |
Yes | List drafts |
| POST | /outreach |
Yes | Create draft |
| PUT | /outreach/:id |
Yes | Update draft |
| POST | /outreach/:id/improve |
Yes | AI-improve a draft |
| DELETE | /outreach/:id |
Yes | Delete draft |
| Method | Endpoint | Auth | Description |
|---|---|---|---|
| GET | /analytics/weekly |
Yes | 14-day activity + overall stats |
| GET | /nudges |
Yes | Unread nudge feed |
| PATCH | /nudges/:id/read |
Yes | Dismiss nudge |
| DELETE | /nudges |
Yes | Clear all nudges |
| PUT | /profile |
Yes | Update profile |
| PUT | /profile/preferences |
Yes | Save onboarding preferences |
| PUT | /profile/goals |
Yes | Save selected goal titles |
| PUT | /profile/companies |
Yes | Save target companies |
| GET | /health |
No | Server + database health check |
The app is designed to work even without API keys or a live server:
- No
ANTHROPIC_API_KEY— all AI endpoints return scripted, context-aware fallback responses. No features break. - No
SERP_API_KEY— the Discover feature returns course-aware mock professionals instead of live LinkedIn results. - Server unreachable — the frontend API client catches network errors silently and returns
null, allowing the UI to handle the state gracefully. - Token expired — the client automatically clears the token, notifies the user, and redirects to the login page.
All course and university lists, and the course-to-company mappings, live in js/config.js. The file is heavily commented and designed to be edited by a non-developer.
To connect live data, replace the helper functions at the bottom of config.js:
// Currently returns hardcoded data:
async function fetchCourses() {
return Promise.resolve(COURSE_LIST);
}
// Replace with:
async function fetchCourses() {
const res = await fetch('/api/courses');
return res.json();
}- CORS: In development, all origins are allowed. Set
NODE_ENV=productionand update theoriginvalue inserver.jsbefore deploying. - Nudge scheduler: Runs every 30 seconds in development, every 2 hours in production. Controlled by
INTERVAL_MSinservices/scheduler.js. - JWT tokens: The frontend stores tokens under both
cp_tokenandtnm_tokenkeys inlocalStoragefor compatibility across both app versions.
Pull requests are welcome. For major changes, please open an issue first to discuss what you'd like to change.
MIT