Skip to content

Dev - #17

Merged
Jamie-Poeffel merged 73 commits into
mainfrom
dev
Dec 9, 2025
Merged

Dev#17
Jamie-Poeffel merged 73 commits into
mainfrom
dev

Conversation

@Jamie-Poeffel

Copy link
Copy Markdown
Contributor

No description provided.

LuisAll12 and others added 30 commits November 18, 2025 14:48
- Added package.json scripts for development and Prisma commands.
- Created Express app with health check and CORS support.
- Configured Prisma client and environment variables.
- Implemented authentication controllers for user registration and login.
- Developed user repository for database interactions.
- Set up authentication routes for user actions.
- Configured TypeScript with strict settings and output directory.
- Added Prisma schema and initial migration for User model.
- Included SQL script for retrieving users.
- Updated package.json to simplify test commands and added integration test command.
- Added necessary type definitions for Jest and Supertest.
- Created initial test files for authentication routes, server routes, password hashing, and authentication service.
- Added Jest configuration file for TypeScript support and improved module path resolution.
…th-fix

Feature/main with tests and auth fix
- Changed package type from module to commonjs for compatibility.
- Added JWT secret and expiration configuration in environment variables.
- Updated login controller to return JWT token along with user details.
- Added 'me' controller to retrieve the authenticated user's information.
- Implemented user repository method to find user by ID.
- Created JWT utility functions for signing and verifying tokens.
- Added authentication middleware to protect routes and validate tokens.
- Updated routes to include the new 'me' endpoint for user info retrieval.
- Added new Server and Plan models to the Prisma schema.
- Introduced ServerStatus enum for server status management.
- Updated UserProfile model to include a relation to the new Server model.
- Created migration SQL for adding servers and plans tables with foreign key constraints.
- Removed old prisma.config.bak file and added a new prisma.config.ts file for configuration.
- Updated package.json to include Prisma as a dependency.
- Excluded unnecessary files from TypeScript compilation.
- Added nodemailer as a dependency for sending emails.
- Created mail service to handle sending verification emails.
- Updated JWT utility to include email verification token signing and verification.
- Modified User model in Prisma schema to include email verification timestamp.
- Updated package.json to include new dependencies for nodemailer and its types.
Jamie-Poeffel and others added 28 commits November 20, 2025 15:05
@Jamie-Poeffel
Jamie-Poeffel merged commit 93f259a into main Dec 9, 2025
2 checks passed

This branch was previously deployed

1 inactive deployment
Testing — 12defa17 Deployed Dec 9, 2025 by Jamie-Poeffel via test #73
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants