Initial commit++
This commit is contained in:
parent
d34a649607
commit
6fdbe8511c
4
LICENSE
4
LICENSE
|
@ -219,8 +219,8 @@ If you develop a new program, and you want it to be of the greatest possible use
|
|||
|
||||
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
guestbook-ng: The future of guestbooks
|
||||
Copyright (C) 2021 Daniel E Bowling
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
||||
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
# guestbook-ng
|
||||
|
||||
The goal of guestbook-ng is to integrate across vendors and customers with full-service analytics insights by leveraging the latest in Perl Mojolicious blockchain technologies powered by AI.
|
||||
The goal of guestbook-ng is to integrate across vendors and customers
|
||||
with full-service analytics insights by leveraging the latest in Perl
|
||||
Mojolicious blockchain technologies powered by AI.
|
||||
|
||||
## TODOs
|
||||
|
||||
1. All of it
|
||||
|
|
12
guestbook-ng.pl
Executable file
12
guestbook-ng.pl
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env perl
|
||||
|
||||
# Dec 2021
|
||||
# Daniel Bowling <swaggboi@slackware.uk>
|
||||
|
||||
use Mojolicious::Lite -signatures;
|
||||
|
||||
get '/' => sub ($c) {
|
||||
$c->render(template => 'index');
|
||||
};
|
||||
|
||||
app->start();
|
3
templates/index.html.ep
Normal file
3
templates/index.html.ep
Normal file
|
@ -0,0 +1,3 @@
|
|||
% layout 'default';
|
||||
% title 'Welcome';
|
||||
<h1>Welcome to the Mojolicious real-time web framework!</h1>
|
9
templates/layouts/default.html.ep
Normal file
9
templates/layouts/default.html.ep
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title><%= title %></title>
|
||||
</head>
|
||||
<body>
|
||||
<%= content %>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue