Bumped to 0.3.0. Switched /blog routes to / prefix and moved preevious / route to /about. Changed some env var loading code.
This commit is contained in:
parent
5c1c0de1b1
commit
accbdb6f7a
11 changed files with 167 additions and 77 deletions
14
README.md
14
README.md
|
@ -44,12 +44,14 @@ ROOT_PATH=/path/to/template/directory/and/sqliteDB
|
|||
|
||||
## Routes
|
||||
|
||||
- / site welcome
|
||||
- /blog shows the last 5 posts
|
||||
- /blog/id/<id> shows a single post by id
|
||||
- /blog/all shows all posts
|
||||
- /blog/submit set your submit token and create posts
|
||||
- /blog/edit/<id> edit, delete or hide posts
|
||||
| Route | Description |
|
||||
| ---------- | -------------------------------------------------- |
|
||||
| / | shows the last 5 posts |
|
||||
| /id/<id> | shows a single post by id |
|
||||
| /all | shows all posts |
|
||||
| /submit | set your submit token and create posts |
|
||||
| /edit/<id> | edit, delete or hide posts |
|
||||
| /about | information about this blog, social media accounts |
|
||||
|
||||
**API Routes**
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue