Skip to content

Hallowgram/Hallowgram-App

Repository files navigation

GitHub top language GitHub issues GitHub pull requests License (MIT)

Hallowgram Logo

Hallowgram

An fullstack application created by Michael Haviv and Jeiner Noriega. A Halloween themed Instagram clone application

Getting Started

$ git clone https://github.com/Hallowgram/Hallowgram-App
$ cd Hallowgram-App
$ npm install
$ node app.js

Deployment

hallowgram.herokuapp.com

Data Models

'users'

Column Type
id INTEGER (PRIMARY KEY)
email STRING (NOT NULL) (UNIQUE)
password STRING (NOT NULL)
firstname STRING (NOT NULL)
lastname STRING (NOT NULL)
username STRING (NOT NULL)
  • ONE to MANY relationship with photos
  • ONE to MANY relationship comments
  • ONE to MANY relationship likes

'pics'

Column Type
id INTEGER (PRIMARY KEY)
url INTEGER (NOT NULL)
name STRING (NOT NULL)
description STRING
userId INTEGER (FOREIGN KEY)
  • ONE to MANY relationship with comments
  • ONE to MANY relationship with likes
  • MANY to ONE relationship with users

'comments'

Column Type
id INTEGER (PRIMARY KEY)
text STRING (NOT NULL)
userID INTEGER (FOREIGN KEY)
picID INTEGER (FOREIGN KEY)
  • MANY to ONE relationship with photos
  • MANY to ONE relationship with user

'likes'

Column Type
id INTEGER (PRIMARY KEY)
userId INTEGER (FOREIGN KEY)
picId INTEGER (FOREIGN KEY).
  • MANY to ONE relationship with users
  • MANY to ONE relationship with pics

Project Organization


├── app.js                    # Main entry point of the app
├── db.js 					  # Where database configuration is handled for database models
├── config                    # Where application configuration lives
│   ├── passport              ## Where Passport.js authentication lives
│   └── config.js             ## Development configuration lives here
├── controllers               # Where application controllers live
├── migrations                # Where all of the database migrations live
├── models                    # Where all of the Sequelize models live
├── routes                    # Where router files live
├── static                    # Where public-access static files live
│    ├── fonts                ## Fonts(eot|otf|ttf|woff|woff2)
│    ├── images         	  ## Where all stock and uploaded images live
│	 ├── js					  ## Front End Javascript functionality 
│	 ├── stylesheets		  ## Where site styles live
├── views					  # EJS files for rendering live 
│     ├── partials            ## EJS partial files
│

Technology Used


  • Amazon S3 is object storage built to store and retrieve any amount of data from anywhere.



  • Multer is a node.js middleware for handling multipart/form-data, which is primarily used for uploading files.




  • Node is a multi-platform, open-source JavaScript run-time environment that executes code on the server-side.




  • PostgreSQL is a powerful, open source object-relational database system.

Contribute

Credits

Michael Haviv (contributor) Jeiner Noriega (contributor)

License

License (MIT)

  • This fullstack web application is available under the MIT License.

About

A Halloween themed Instagram clone application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •