Skip to content

sunny420x/sunnyfw-article

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is Sunny Framework?

Sunny Framework is a Ready-to-use Web systems with Admin Systems. This Article Systems is one part of sunny-framework pack I will developing. In the future I will develop other systems as well like web-shop, web-gallary and etc.

Engine and Requirements.

This web application is running on Node.js and styling and layout are powered by with SunnyUX.

Configuration.

You need to configs couples things before you can starting SunnyFW on Node.js

1) Creating .env file containing variables as below.

PORT=
MYSQL_HOST=
MYSQL_USERNAME=
MYSQL_PASSWORD=
MYSQL_DATABASE=
DEFAULT_PASSWORD=
crypto_secret=

Sunny Framework will access .env file to receive MySQL details such as MySQL Users,Password and others configs stored in this file such as hashing-secret and etc. Without .env file Web Application will not be able to access the database and begin to install the database tables using in the application.

  • PORT is port that you want web appication to running on.
  • DEFAULT_PASSWORD is default admin password for first time login.
  • crypto_secret is password hashing secret salt for sha256 powered by "crypto" module.

Installation.

Go to URL "/install" to run the mysql installing commands. If web application have no error creating tables it will redirected you to homepage and show succuessfully alert.

About

Ready-to-use Web articles systems written in JavaScript powered by Node.js and Express.js using MySQL as a database.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors