Skip to content

Created basic backend for contest admin side - #11

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

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

Conversation

@shivamsaraf

Copy link
Copy Markdown
Member

No description provided.

@nveenjain nveenjain left a comment

Copy link
Copy Markdown
Member

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.

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

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

Copy link
Copy Markdown
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.

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

db.connect((err)=> {

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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