This is a full-stack web app built with Node, Express (routing), pug (templating), jQuery (client-side scripting), and SQLite (database).
When deployed, it will look something like this:
Basic CRUD operations are will be supported on a table of employees.
- Build a preview/exported/static site to display on Github Pages
- Make generated dates in a consistent string format (consider using a library like moment.js)
- Add POST route for making new employees
- Complete
new-employee.pug
form
- Complete
- Add PUT route for editing existing employees
- Add a navbar to
layout.pug
for navigating the entire site. - Display employee names/positions as retrieved from database
- Add edit button to edit employee data
- Add honeypot "backdoor" which records user info
- This page shoudln't be accessed by normal users; log infos of ppl that visit it (e.g. with a scraper)
- Add news table to database which holds company news
- Add previews of news stories to homepage
- Are there some well-established tools for building static websites from Express apps?
- Or, should I just do a little bit of web scraping on my own site...
- Since we have
id
set as INTEGER PRIMARY KEY, will it automatically make new unique IDs if I don't explicitely set it? - SQLite doesn't have a native data type for dates; I'll stick with using consistent strings for now...
- top-bottom linear gradient doesn't display correctly in Brave browser
- For this project, I'm keeping things simple and avoiding using an ORM