Skip to content

Created basic backend for contest admin side#11

Open
shivamsaraf wants to merge 3 commits intoCyber-Labs:masterfrom
shivamsaraf:admincontest
Open

Created basic backend for contest admin side#11
shivamsaraf wants to merge 3 commits intoCyber-Labs:masterfrom
shivamsaraf:admincontest

Conversation

@shivamsaraf
Copy link
Member

No description provided.

Copy link
Member

@nveenjain nveenjain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please upload database.sql file too, and see the PR sent by nikhil and try to code in similar way.

backend/app.js Outdated
const router=express.Router();

const db = mysql.createConnection({
host: "",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use environment variables.. See in other PR sent by nikhil.

backend/app.js Outdated
database:""
});

db.connect((err)=> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is required.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay

@shivamsaraf
Copy link
Member Author

Will be creating database.sql file by night

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