Prerequisites
Node.js - Click to download
MySQL - Click to download
Any Code Editor.
Steps to run on the local system
A step by step series of examples that tell you how to get a development environment running.
Step 1. Clone Ayu repository
Code Block |
---|
https://github.com/Intelehealth/mindmap-api |
Step 2. Install all the dependencies.
Code Block |
---|
npm install |
Running this step will install all the required libraries and dependencies on your system.
Step 3. Restore the backup to MySQL database.
View file | ||
---|---|---|
|
This will create mindmap schema.
Step 4. Adding necessary files to the code.
1. Create a file named license.json inside public/license/
{"licensekey":[]}
2. Create a file named setting.json inside public/javascripts/mysql/
{ "host" : "localhost", "user" : ${database_username}, "password" : ${database_password}, "database" : "mindmap_server" }
Step 5. Start the server
Code Block |
---|
npm start |
This will start the live server on your local machine.
Step 6. To run
Code Block |
---|
localhost:3004 |
Open this link on the browser and you are good to go!