A lottery application on egg
Clone this repository to get lottery:
$ git clone git@github.com:jinhucheung/lottery.git
Then copy configurations:
$ cd lottery
$ cp database/config.json.example database/config.json
And execute:
$ yarn install
Then do migrate:
$ npx sequelize db:create
$ npx sequelize db:migrate
$ npx sequelize db:seed:all
Start application:
$ yarn run dev
Bug report or pull request are welcome.
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
Please write unit test with your code if necessary.
The repository is available as open source under the terms of the MIT License.