This is the Auctioning platform.
For running the code locally, setup database first using steps given below. (in Linux, in this directory)
- Install mysql, open it in terminal with a username using
mysql -u 'user' -pthen enter your password. default use root. - Make a new database named eqsAuction using
CREATE DATABASE eqsAuction; - Perform
USE eqsAuction; source config/database.sql;
This will set your database in the machine locally. Now,
- Exit from mysql terminal and change the database config on "config/database.js" (if any).
- Perform
npm installfirst and then setup the database accordingly. - Run
node server.jsto run the application.
P.S. while uploading code to server check that the configs are changed to that of server's database.