Skip to content

delta/auction_system

Repository files navigation

Auction System

A real time auction-system built using socket programming

Tech

Getting Started

Auction system requires Node.js v6.11.5 LTS to run.

Install the dependencies and devDependencies and start the server.

Install sequelize-cli , the Sequelize Command Line Interface (CLI)

npm install -g sequelize-cli

For development environments...

$ npm install
$ npm run watch

For production environments...

$ npm install
$ npm run prod

Create a /config/config.json file for Sequelize by copying the contents of /config/config.json.example and replacing the necessesary fields

{
  "development": {
    "username": "root",
    "password": your mysql password,
    "database": "your database name",
    "host": "127.0.0.1",
    "dialect": "mysql"
  },
  "test": {
    "username": "root",
    "password": your mysql password,
    "database": "database_test",
    "host": "127.0.0.1",
    "dialect": "mysql"
  },
  "production": {
    "username": "root",
    "password": your mysql password,
    "database": "database_production",
    "host": "127.0.0.1",
    "dialect": "mysql"
  }
}

For migrating the tables...

$ sequelize db:migrate

When you install a new dependency always use --save

$ npm install --save <package_name>

Make sure to run tests before pushing any changes...

$ npm run test

Before committing your work, reformat the files...

$ npm run fmt

For testing purposes import this dump file to your local db.

Happy coding

Reporting Issues

If you think you've found a bug, or something isn't behaving the way you think it should, please raise an issue on GitHub.

Contributing

Read our Contribution Guidelines for information on how you can help out Auction-System.

Licensing

Auction System is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

About

A real time auction-system built using socket programming.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages