1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 20:39:28 +00:00
Commit Graph

387 Commits

Author SHA1 Message Date
521623a2cd Add css normalise file 2022-01-25 11:20:53 +00:00
6c114bd9c2 Added sass, and initial sass partials 2022-01-25 11:20:12 +00:00
fc00ecd2c5 Set up homepage template and route 2022-01-24 10:15:17 +00:00
e44f82cb50 Change test script params for faster execution 2022-01-24 09:52:55 +00:00
3675533401 Rewrite jest config to json format 2022-01-24 09:51:51 +00:00
51db80f04c Auto use jest-extended matchers in tests 2022-01-24 09:44:48 +00:00
7502c189a1 Added error page and handling 2022-01-24 01:23:38 +00:00
39185c3301 Created head partial 2022-01-24 00:11:34 +00:00
dc881fcfa9 Configured express to use ejs templating language 2022-01-23 23:57:32 +00:00
fb419c3692 Added middleware to serve static files, and parse incoming bodies 2022-01-23 23:32:37 +00:00
c191d74431 Added favicon 2022-01-23 23:28:40 +00:00
8278a68d41 Added session middleware 2022-01-23 23:16:24 +00:00
d630af88f9 Added method to expose the mysql2 database connection 2022-01-23 23:14:55 +00:00
1212358e92 Set up expressjs framework 2022-01-23 22:57:48 +00:00
e6813851bf Added new module for importing JSON files safely, along with test files 2022-01-23 22:35:31 +00:00
3ab5ce703f Added more jest assertions via jest-extended 2022-01-23 22:34:27 +00:00
80ce4608cb Rename db sample config file to more logical name 2022-01-23 22:33:27 +00:00
0d8f10f061 Fixed indentation from autogenerated package.json 2022-01-21 21:20:12 +00:00
f6be2e37f6 Added class diagram for DatabaseConnectionPool 2022-01-21 21:15:29 +00:00
d3a631ee31 Updated plantuml, changed static/ to public/, and added new scripts to package.json 2022-01-21 21:13:32 +00:00
9f4d947126 Added initial class skeletons 2022-01-20 23:29:26 +00:00
b14be8095e Restructure before adding class skeletons 2022-01-20 23:16:38 +00:00
960575280b Added validation and sanitisation for sql queries passed into runQuery 2022-01-20 22:57:17 +00:00
08b5b41135 Migrate existing db connections to use DatabaseConnectionPool 2022-01-20 18:01:52 +00:00
5cc2b29257 Added DatabaseConnectionPool.close() 2022-01-20 17:57:37 +00:00
ec3890fa7f Fix bug where trailing whitespace in sql query after ; would error 2022-01-20 17:57:01 +00:00
5854c3928a Added tests for DatabaseConnectionPool class 2022-01-20 17:04:20 +00:00
822b6b3115 Added a mock DatabaseConnectionPool object for testing 2022-01-20 17:04:20 +00:00
58350e032f Added jest testing framework 2022-01-20 17:04:20 +00:00
0fa2310f39 Added database interface module 2022-01-20 17:04:20 +00:00
ca893198e7 Added linting package 2022-01-20 01:32:51 +00:00
cfd4abc17e Added script to insert test data into the database, added new requirement 'bcrypt' for password hashing 2022-01-19 22:34:23 +00:00
55d68df2c5 Added database initialisation script and mysql2 npm package 2022-01-19 22:34:23 +00:00
a79c19a791 Initialised NPM package 2022-01-11 22:21:54 +00:00
339ed61069 Added database schema sql file 2022-01-11 22:21:39 +00:00
a00345a0ba Added writeup diagram files and scripts to generate to images 2022-01-11 21:12:24 +00:00
Matt Fiddaman
7eb290d5db Initial commit 2022-01-11 20:58:21 +00:00