Repository of Dentrit.
Dendrit is an online adventure game book where you can choose the story path, or write your own. Be a spy, a princess, a pirate, a rockstar, a ninja…
- Node.js v10.9+
- NPM v6.2+
Clone the repository:
$ git clone https://github.com/MartinKondor/dentrit.git
$ cd dentrit
Create a file called config.js
, with the content:
Object.defineProperty(exports, '__esModule', { value: true });
const env = process.env.NODE_ENV || 'development';
exports.db = {
"sessionSecret": '...',
"url": env === 'development' ? 'dev_database_url' : 'production_database_url',
"user": 'database_user',
"password": 'database_password',
};
const sendEmail = (toEmail, title, content) => {
// TODO
}
Start server with:
$ npm i
$ npm i -g nodemon
$ nodemon
Ways to contribute:
- Check for open issues
- Read the
TODO
file
- Fork this repository
- Create a new branch (optional)
- Clone it
- Make your changes
- Upload them
- Make a pull request here
- Profit.
Copyright © Martin Kondor 2019
This repository is licensed under the BSD 3-Clause
license.
See the LICENSE.md file for more details.