Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Farreeda committed Jan 1, 2025
1 parent 53036e1 commit b7d58ed
Show file tree
Hide file tree
Showing 158 changed files with 995,055 additions and 365,363 deletions.
14 changes: 7 additions & 7 deletions backend/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ const db = mysql.createConnection({
database: 'moveaura', // Replace with your database name
});

db.connect((err) => {
if (err) {
console.error('Error connecting to MySQL:', err);
return;
}
console.log('Connected to MySQL database.');
});
//db.connect((err) => {
// if (err) {
// console.error('Error connecting to MySQL:', err);
// return;
// }
// console.log('Connected to MySQL database.');
//});

// Middleware for authentication
const authenticate = (req, res, next) => {
Expand Down
68 changes: 51 additions & 17 deletions node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b7d58ed

Please sign in to comment.