Skip to content

Commit 2fcafb5

Browse files
Adding readme file
1 parent b61ea8a commit 2fcafb5

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

README.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# node-webapp-template
2+
3+
## Table of Contents
4+
* [General Information](#general-information)
5+
* [Please Donate](#please-donate)
6+
* [Releases](#releases)
7+
* [Pre-Requirements](#pre-requirements)
8+
* [Setup](#setup)
9+
10+
## General Information
11+
* This template was built top help people quickly setup a development environment and focus on their business rules
12+
* Most of the work to build standard objects for web/hybrid mobile apps is done, it means you can set parameters and call functions according to your needs and UI elements will be displayed
13+
* This template relies on top technologies for both back-end and front-end
14+
* Of course, there's always room for improvements, so check the plans for future releases
15+
16+
## Please Donate
17+
* Honestly, this webapp template will save you a lot of work and time so why not giving something back to the author?
18+
* Once you install and run the template, please check the donation box at your upper right
19+
20+
## Releases
21+
* V.1.0.0 (current release)
22+
* V.1.1.0
23+
** Bug fixes of V.1.0.0 (if found)
24+
** Support to mysql (remaining implementation on user authentication and user management services)
25+
* V.1.2.0
26+
** Bug fixes of V.1.1.0 (if found)
27+
** Support to mongoDB
28+
* V.2.0.0
29+
** Bug fixes of V.1.2.0 (if found)
30+
** Update to Bootstrap 5.x
31+
** Update to Angular.js 1.8.2
32+
33+
## Pre-Requirements
34+
* In order to run this template you must have the following packages installed:
35+
** node.js version 10.8.0 or later
36+
** mysql/Maria DB version 10.8.0 or later (required for Release 1.1.0)
37+
38+
## Setup
39+
* Just clone the repository or copy the files to your disk
40+
* Edit the file /path/to/node-webapp-template/config//path/to/node-webapp-config.json and set TCP_PORT and mysql/Maria DB credentials according to your enviroment
41+
```
42+
{
43+
"app_parameters": {
44+
"tcp_port": 8080,
45+
"debug_mode": "D"
46+
},
47+
"app_mysql_db": {
48+
"host": "192.168.0.10",
49+
"username": "nwtemplate_usr",
50+
"password": "nwtemplate_usr",
51+
"database": "NODE_WEB_TEMPLATE"
52+
}
53+
}
54+
```
55+
* Open a terminal screen and go to the folder you used /path/to/node-webapp-template/ and run the following command:
56+
```
57+
nodemon apps.js
58+
```
59+
* Open a web browser and type the URL "://localhost:8080" (Please notice the port 8080 is set in the config file)

0 commit comments

Comments
 (0)