Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created basic backend for contest admin side #11

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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