Skip to content

miarevalo10/thebiblefront

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

thebibleapp

##Deploy URL's Frontend: https://thebiblefront.herokuapp.com
Backend: https://thebibleapp.herokuapp.com/api

##GitHub URL's Frontend: https://github.com/miarevalo10/thebiblefront
Backend: https://github.com/jgmurillo10/thebibleapp

NPM Version

Synopsis

This project is an web application designed for storage academic data organized by program and course at Universidad de los Andes

Motivation

The main motivation of this web app is to centralize files from diferent program and courses.

Installation

Windows:

git clone https://github.com/jgmurillo10/thebibleapp
cd thebibleapp
npm install
npm start
cd ../
git clone http://github.com/miarevalo10/thebiblefront
cd thebiblefront
npm install
npm start

runs at port 8080

Tools


JavaScript
NodeJS
Express
Amazon S3
MongoDB

npm Packages


aws-sdk
body-parser
cookie-parser
debug
express
mongodb
mongoose
morgan
nodemon

MongoDB Reference

Programs' collection

[
   {
    "_id" : ObjectId("58b26301f36d281facb55fd6"),
    "description" : "description",
    "url" : "http://sistemas.uniandes.edu.co",
    "name" : "Ingeniería de Sistemas y Computación"
}
]

Courses' collection

[
  {
    "_id" : ObjectId("58bb8170af26e205d10464e4"),
    "name" : "Algoritmica y Programacion Orientada a Objetos I",
    "code" : "ISIS1207",
    "description" : "nfaisofaso",
    "url" : "https://uniandes.edu.co",
    "program_id" : ObjectId("58b26301f36d281facb55fd6")
}
]

Files' collection

[
{
    "_id" : ObjectId("58bca72254b30c2f1c7919f0"),
    "size" : "0.146759765625 MB",
    "course_id" : ObjectId("58bb8170af26e205d10464e4"),
    "name" : "GuiaDeTrabajo_n2_2014-2_honores.pdf",
    "drive_url" : "https://thebibleapp.s3.amazonaws.com/GuiaDeTrabajo_n2_2014-2_honores.pdf",
    "__v" : 0
}
]

Resources' collection

[
  {
    "_id" : ObjectId("58bb85d2af26e205d10464ee"),
    "course_id" : ObjectId("58bb8170af26e205d10464e4"),
    "name" : "Tutorial Java",
    "url" : "https://www.youtube.com/watch?v=coK4jM5wvko&list=PLU8oAlHdN5BktAXdEVCLUYzvDyqRQJ2lk",
    "description" : "Curso Java desde cero por el canal pildorasinformaticas"
}
]

API Reference

##Programs

HTTP Method URI description
GET /api/programs Get all the programs
POST /api/programs Post a program
GET /api/programs/:program_id Get specific program by id
DELETE /api/programs/:program_id Delete specific program by id

##Courses

HTTP Method URI description
GET /api/programs/:program_id/courses Get all the courses by program
POST /api/programs/:program_id/courses Post course by program
GET /api/programs/:program_id/courses/:course_id Get an specific course by ID
DELETE /api/programs/:program_id/courses/:course_id Delete an specific course by ID

##Files

HTTP Method URI description
GET /api/programs/:program_id/courses/:course_id/files Get all the files
POST /api/upload Add an specific file

##Resources

HTTP Method URI description
GET /api/programs/:program_id/courses/:course_id/resources/ Get all the resources
POST /api/programs/:program_id/courses/:course_id/resources/ Get an specific resource

Meta

Juan Guillermo Murillo – @juangmurillo2jg.murillo10@uniandes.edu.co
Maria Isabel Arevalo – @miarevalo10mi.arevalo10@uniandes.edu.co

Distributed under the MIT license. See LICENSE for more information.

https://github.com/jgmurillo10/thebibleapp

About

Front End for The Bible App

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published