Ever feel like you're terrible at coding? Or that rookie mistake you just made makes you shrivel with shame? Well misery loves company. ON FAC'd Up we can share our hilarious moments of cringe worthy coding blunders and realise we are not alone!
As a FAC'd Upper I can...
- log into the website (test logins Username: Aisha Password: password/ Username Yahia Password: test1)
- add my own confession
- view others confessions
- Login form with 2 fields - username and password
- Client-side and server-side validation on login form, including error handling that provides feedback to users
- Users only have to log in once (i.e. implement a cookie-based session on login)
- Username is visible on each page of the site after logging in
- Any user-submitted content should be labelled with the authors username
- There should be protected routes and unprotected routes that depend on the user having a cookie or not (or what level of access they have).
- Website content should be stored in a database
Column | Type | Modifiers |
---|---|---|
id | Serial | Primary Key |
faccer | VARCHAR(30) | not null |
password | Text | not null |
avatar | VARCHAR(10) | not null |
Column | Type | Modifiers |
---|---|---|
id | Serial | Primary Key |
user_id | Serial | Foreign Key |
post | VARCHAR(200) | not null |
date | DATE | not null |