Updated README.md
This commit is contained in:
@@ -11,3 +11,5 @@ DB_DATABASE=template
|
|||||||
DB_USERNAME=template
|
DB_USERNAME=template
|
||||||
DB_PASSWORD=pikachu
|
DB_PASSWORD=pikachu
|
||||||
DB_TIMEZONE=Australia/Sydney
|
DB_TIMEZONE=Australia/Sydney
|
||||||
|
|
||||||
|
SESSION_SECRET=secret
|
||||||
@@ -16,6 +16,14 @@ To set up this template, please ensure mariadb is running on the host computer,
|
|||||||
|
|
||||||
This should get the template working in development mode.
|
This should get the template working in development mode.
|
||||||
|
|
||||||
|
# Microservices
|
||||||
|
|
||||||
|
There are external components to this template referred to as "microservices". These can be omitted entirely by simply removing the React component that accesses them.
|
||||||
|
|
||||||
|
* News Server: https://github.com/krgamestudios/news-server
|
||||||
|
|
||||||
|
TODO: more info.
|
||||||
|
|
||||||
# TODO list
|
# TODO list
|
||||||
|
|
||||||
- Account system
|
- Account system
|
||||||
@@ -25,15 +33,18 @@ This should get the template working in development mode.
|
|||||||
- ~~logout (with cookies)~~
|
- ~~logout (with cookies)~~
|
||||||
- ~~account deletion~~
|
- ~~account deletion~~
|
||||||
- ~~annoying "This site uses cookies" message~~
|
- ~~annoying "This site uses cookies" message~~
|
||||||
- CSS template?
|
- News blog system (microservice)
|
||||||
|
- ~~build the microservice to provide the news feed~~
|
||||||
|
- access an external news feed
|
||||||
|
- built-in panel for publishing and editing news (admin panel)
|
||||||
- Administration Panel
|
- Administration Panel
|
||||||
- Exclusive to admin accounts
|
- Exclusive to admin accounts
|
||||||
- ban/unban accounts
|
- ban/unban accounts
|
||||||
- inspect user data
|
- inspect user data
|
||||||
- News blog system
|
- Chat system (microservice?)
|
||||||
- access an external news feed
|
- Based on usernames
|
||||||
- build the microservice to provide the news feed
|
- Chat logs
|
||||||
- Chat system
|
- Direct Messages & rooms
|
||||||
- Achievements?
|
- Achievements?
|
||||||
|
|
||||||
# Email settings
|
# Email settings
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@ const session = require('express-session');
|
|||||||
|
|
||||||
app.use(formidable());
|
app.use(formidable());
|
||||||
app.use(cookieParser());
|
app.use(cookieParser());
|
||||||
app.use(session({ secret: 'secret', resave: true, saveUninitialized: true }));
|
app.use(session({ secret: process.env.SESSION_SECRET, resave: true, saveUninitialized: true }));
|
||||||
|
|
||||||
//database connection
|
//database connection
|
||||||
const database = require('./database');
|
const database = require('./database');
|
||||||
|
|||||||
Reference in New Issue
Block a user