-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
We wanted a blog, so we need to add support for it.
I imagine we'll want to store everything in a database table, then dynamically serve content based on the page. We'll also have a page for searching through
This task will have several steps:
- Create a table in the database to store blog entries
- this table should store:
- html contents as a string
- date of creation & date of last edit
- computing id of creator (this is what we use as a foreign key to access user accounts)
- (unique) title of article
- string containing a list of comma separated tags
- create crud functions for:
- creating new blog entries
- getting a blog entry using it's title
- getting a set of blog titles by date range & tag (paginated, say 50 per page for starters)
- updating blog data.
- this table should store:
- Create an endpoint
api.sfucsss.org/blog/<title>for generating a directly servable webpage given the (unique) title of the article- TODO: @micahdbak how should this be integrated with the frontend? What are your thoughts? I'd prefer to serve the files directly rather than use js to dynamically build the webpage.
- Migrate all past "announcements" from https://sfucsss.org/ to the database
- Update the nginx config so that the backend endpoint is being served directly
- also @micahdbak do we want to do this?
- Add support for fuzzy keyword search of contents (!)
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers