Skip to content

FAC10/week7-sweetpotato-cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍠 Sweet Potato CMS 🍠

https://enigmatic-savannah-93237.herokuapp.com

Build Status codecov

How to do a run of your app?

  • clone this repo
  • npm i
  • npm run devStart
  • (we don't have any tests, we know, bad us)
  • We will post the usernames and passwords in gitter (security n that)

Database schema:

Users: 1 to 1

Column Type Modifiers
user_id integer not null default
username character varying(100) not null
password character varying(50) not null
isAdmin boolean not null

Posts: 1 to Many

Column Type Modifiers
post_id integer not null default
title character varying(50) not null
body character varying(500) not null
date date not null
user_id integer not null

What?

A basic CMS blog platform with authentication, session management and templating with handlebars.

Why?

How?

hapi for server creation and general back end stuff
PSQL hosted on heroku for the database
bcrypt for password hashing
handlebars for templating

What did u learn tho?

leaaaaaaaaarnings

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •