Updated README.md

This commit is contained in:
2021-01-31 10:03:18 +11:00
parent 02622ace65
commit 71f3f8e370
3 changed files with 20 additions and 7 deletions
+2
View File
@@ -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 -5
View File
@@ -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
View File
@@ -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');