Skip to content

lexscher/eco-mmunity-api

Repository files navigation

Eco-mmunity Backend

Take a look at the front-end

Backend Technologies:

ERD

img

Closer breakdown of the models:

hero
-
id PK int
username UNIQUE string
first_name string
last_name string
email UNIQUE string
password string

community
-
id PK int
name UNIQUE string
description string
hero_id int FK >- hero.id

post
-
id PK int
title string
content string
hero_id int FK >- hero.id
community_id int FK >- community.id

comment
-
id PK int
content string
hero_id FK >- hero.id
post_id FK >- post.id

starred_communities
-
id PK int
hero_id FK >- hero.id
community_id FK >- community.id

voted_posts
-
id PK
up boolean
down boolean
hero_id FK >- hero.id
post_id FK >- post.id

voted_comments
-
id PK
up boolean
down boolean
hero_id FK >- hero.id
comment_id FK >- comment.id

Created by Alexander Schelchere

About

Rails Backend for the app, Eco-mmunity!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published