GitXplorerGitXplorer
C

LiveOn-Journal

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
269113ff2dc1068270f185f9659a90d7ee15c4e2

Update README.md

CCarl-K committed 8 years ago
Unverified
d0f001ccb5d6929cd396610fbe7f7e1bc9c17494

Update README.md

CCarl-K committed 8 years ago
Unverified
5876d8774031984339fc4581197ecb16cb643649

Update README.md

CCarl-K committed 8 years ago
Unverified
ff9b6476164bf5ead204bdf41236396270ff7f2f

Update README.md

CCarl-K committed 8 years ago
Unverified
7e90a117176529908e3222b8c2c99eb705fe3153

Update README.md

CCarl-K committed 8 years ago
Unverified
e84bb9bf0061f8559536753da33b167ed2f4d953

Update README.md

CCarl-K committed 8 years ago

README

The README file for this repository.

Video demonstration: https://youtu.be/rYoBdBV3UTI


This is a website I built using Ruby On Rails. It uses ActiveRecords, ActionViews, ActionControllers, sessions, layouts, partials, BCrypt, MySQL, CSS, and HTML.

Database Tables:

The websites uses 2 database tables: user_identifications and journal_entries.

user_identifications uses a string titled username as the primary key as opposed to the auto incrementing integer default key id. It also has a password_digest field for BCrypt.

journal_entries references the user_identifications table through the foreign key user_identifiction_username.

Tables:

user_identifications: +-----------------+--------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-----------------+--------------+------+-----+---------+-------+ | username | varchar(40) | NO | PRI | NULL | | | password_digest | varchar(255) | NO | | NULL | | | created_at | datetime | NO | | NULL | | | updated_at | datetime | NO | | NULL | | +-----------------+--------------+------+-----+---------+-------+

journal_entries: +------------------------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +------------------------------+--------------+------+-----+---------+----------------+ | id | bigint(20) | NO | PRI | NULL | auto_increment | | user_identification_username | varchar(255) | NO | MUL | NULL | | | entry_created_at | datetime | NO | | NULL | | | entry | text | YES | | NULL | | +------------------------------+--------------+------+-----+---------+----------------+