Skip to content

Web application for publication of content (photos, events,...) that users want to share or simply store to access later.

Notifications You must be signed in to change notification settings

Nimbus79/myFacebook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 

Repository files navigation

myFacebook

Web application that implements a digital repository of publications of ideas, photos and other components that users want to share or simply store to access later.

It was developed in the course of Web Applications Development at University of Minho.

Folder Structure

Structured in 5 main folders:

  • controllers: operations on the data structure
  • files: contains 2 json files that correspond to 2 collections on the database
  • models: application's data structure
  • routes: application's endpoints (URIs)
  • views: application's frontend

Backend

The server is fetching data from MongoDB (listening on port 27017 in localhost).

Frontend

Is fetching data from port 2018 in localhost.

Start Guide

1. Install MongoDB

Install MongoDB on your machine and make sure it's running correctly.

2. Create the DB

On the mongo shell, create the database myFacebook:

>use myFacebook
switched to db myFacebook

Then, create the collections utilizadores and items:

>db.createCollection("utilizadores")
{ "ok" : 1 }
>db.createCollection("items")
{ "ok" : 1 }

3. Run the APP

On your command line, inside the folder myFacebook, make:

npm install

Followed by:

npm start

The application is now running and available in http://localhost:2018.

About

Web application for publication of content (photos, events,...) that users want to share or simply store to access later.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Pug 76.5%
  • JavaScript 21.6%
  • CSS 1.9%