A domain registry system, coded in Node.js
- Install nodejs, MySQL server, MongoDB.
- Run
npm install
- Prepare the database
- Install PowerDNS (or run
mysql -u [username] -p [password] -D [name of the database] < _schema_test.sql
) - Run
mysql -u [username] -p [password] -D [name of the database] < _schema_extra.sql
- Install PowerDNS (or run
- Set up the config
- Run
node app.js
- Voilà!
The example file is config.json.example
.
key | value type | details |
---|---|---|
port | integer | the port on which the Express server should run on |
(MySQL connection)
key | value type | details |
---|---|---|
host | string | the host of the MySQL server |
user | string | the username of the MySQL server |
password | string | the password of the MySQL server |
database | string | the name of the database |
- Fix all issues
- Restructure the project
- Clean the mess