Rename project to MerchantsOfHope-SupplyANdDemandPortal
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "mysteryapp-cursor-backend",
|
||||
"name": "merchantsofhope-supplyanddemandportal-backend",
|
||||
"version": "1.0.0",
|
||||
"description": "Backend for MysteryApp-Cursor recruiter workflow SAAS",
|
||||
"description": "Backend for MerchantsOfHope-SupplyANdDemandPortal recruiter workflow SAAS",
|
||||
"main": "src/server.js",
|
||||
"scripts": {
|
||||
"start": "node src/server.js",
|
||||
@@ -31,6 +31,6 @@
|
||||
"@types/jest": "^29.5.8"
|
||||
},
|
||||
"keywords": ["recruiter", "saas", "workflow", "hiring"],
|
||||
"author": "MysteryApp-Cursor",
|
||||
"author": "MerchantsOfHope-SupplyANdDemandPortal",
|
||||
"license": "MIT"
|
||||
}
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
@@ -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 (
|
||||
|
||||
@@ -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');
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user