Skip to content
This repository has been archived by the owner on Jun 6, 2020. It is now read-only.

SigongTeam/sudonmul-info

Repository files navigation

sudonmul-info

Gives information about tap water.

Requirements

  • Node.js v8.2.1
  • MongoDB v3.4.6
  • OpenSSL v1.0.2

Usage

# install dependencies
$ npm install

# create .env file
$ echo 'MONGODB_URI=mongodb://hello.world:1234/wow' > .env

# create self-signed certificate
$ openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes

# development (hot module replacement enabled)
$ npm run dev

# production (back-end only)
$ npm start

License

MIT License