Rename project to MerchantsOfHope-SupplyANdDemandPortal

This commit is contained in:
2025-10-16 17:11:25 -05:00
parent 039d51c4e5
commit 0ecd6c67eb
14 changed files with 52 additions and 52 deletions

View File

@@ -8,7 +8,7 @@ const pool = new Pool({
// Test database connection
pool.on('connect', () => {
console.log('Connected to MysteryApp-Cursor database');
console.log('Connected to MerchantsOfHope-SupplyANdDemandPortal database');
});
pool.on('error', (err) => {

View File

@@ -1,4 +1,4 @@
-- MysteryApp-Cursor Database Schema
-- MerchantsOfHope-SupplyANdDemandPortal Database Schema
-- Users table (for authentication and user management)
CREATE TABLE IF NOT EXISTS users (

View File

@@ -14,14 +14,14 @@ async function seed() {
// Insert users
const users = [
{
email: 'admin@mysteryapp.com',
email: 'admin@merchantsofhope.org',
password_hash: adminPassword,
first_name: 'Admin',
last_name: 'User',
role: 'admin'
},
{
email: 'recruiter@mysteryapp.com',
email: 'recruiter@merchantsofhope.org',
password_hash: recruiterPassword,
first_name: 'John',
last_name: 'Recruiter',
@@ -108,8 +108,8 @@ async function seed() {
console.log('Database seeding completed successfully!');
console.log('Sample users created:');
console.log('- Admin: admin@mysteryapp.com / admin123');
console.log('- Recruiter: recruiter@mysteryapp.com / recruiter123');
console.log('- Admin: admin@merchantsofhope.org / admin123');
console.log('- Recruiter: recruiter@merchantsofhope.org / recruiter123');
console.log('- Employer: employer@techcorp.com / employer123');
console.log('- Candidate: candidate@example.com / candidate123');

View File

@@ -51,7 +51,7 @@ app.use('*', (req, res) => {
});
app.listen(PORT, () => {
console.log(`MysteryApp-Cursor backend server running on port ${PORT}`);
console.log(`MerchantsOfHope-SupplyANdDemandPortal backend server running on port ${PORT}`);
});
module.exports = app;