Giter Club home page Giter Club logo

theloop's Introduction

The Loop

A mobile-first React application that allows users to request, give, and manage professional letters of recommendation.

The Loop is an on-going project.

Built With

  • React
  • Redux / Sagas
  • Node.js
  • Express
  • Moment.js
  • nodemon
  • Passport
  • PostgreSQL
  • Boostrap
  • Material UI
  • Coudinary

Setup Database

Download and install PostgreSQL. The database for this project should be named "the_loop"

-- Setup
CREATE TABLE person (
    id SERIAL PRIMARY KEY,
    username VARCHAR (80) UNIQUE NOT NULL,
    password VARCHAR (1000) NOT NULL,
    "admin" BOOLEAN NOT NULL DEFAULT 'FALSE',
    "email" varchar(150) NOT NULL,
    "first_name" varchar(25) NOT NULL,
    "last_name" varchar(25) NOT NULL,
    "employer" varchar(50) NOT NULL,
    "position" varchar(50) NOT NULL,
    "phone_number" varchar(10) NOT NULL,
    "joined_date" DATE NOT NULL,
    "total_req_left" integer NOT NULL DEFAULT '5'
);

CREATE TABLE "new_request" (
    "request_id" serial UNIQUE NOT NULL,
    "date_sent" DATE NOT NULL,
    "owned_by" integer NOT NULL REFERENCES "person",
	"written_from" integer DEFAULT NULL REFERENCES "person",
    "request_body" varchar(420) NOT NULL,
    "suggested_words" varchar(200) NOT NULL,
	"completed" BOOLEAN DEFAULT FALSE,
    CONSTRAINT new_Request_pk PRIMARY KEY ("request_id")
);

CREATE TABLE "industries" (
    "industry_id" serial NOT NULL,
    "industry_name" varchar(100) NOT NULL,
    CONSTRAINT industries_pk PRIMARY KEY ("industry_id")
);

CREATE TABLE "friendship" (
    "friendA_id" integer NOT NULL,
    "friendB_id" integer NOT NULL,
    "friend_status" BOOLEAN NOT NULL DEFAULT 'false'
);

CREATE TABLE "Invitation" (
    "invitation_from" varchar(50) NOT NULL,
    "access_key" varchar(200) NOT NULL UNIQUE,
    "date_created" DATE NOT NULL,
    "activated" BOOLEAN NOT NULL DEFAULT 'FALSE'
);

CREATE TABLE "LinkedIn" (
    "user_id" varchar(200) NOT NULL,
    "linkedin_data" varchar(200) NOT NULL
);

CREATE TABLE "amazon_storage" (
    "referral_id" integer NOT NULL,
    "audio" varchar(50) NOT NULL,
    "video" varchar(50) NOT NULL,
    CONSTRAINT amazon_storage_pk PRIMARY KEY ("referral_id")
);

CREATE TABLE "fill_referral" (
	"new_request_id" integer NOT NULL REFERENCES "new_request",
    "referral_body" varchar(420) NOT NULL,
    "date_created" DATE NOT NULL,
    "aws_links" varchar,
    "can_contact" BOOLEAN NOT NULL DEFAULT 'TRUE',
	"favorite" BOOLEAN NOT NULL DEFAULT 'FALSE'
);
--End Setup

Installing

Steps to get the development environment running.

  1. Download this project.
  2. npm install
  3. npm start
  4. initialize database
  5. create an account.
  6. open developer tools and select mobile device.

** Adding friendship has not been implemented. This must be done manually in the database using the "friendship" table.

Screen Shot

Screenshot Screenshot

Completed Features

  • User Login / Logout
  • User view recent recommendations
  • Create New Request
  • Fulfill request
  • View Favorites
  • Upload video
  • View pending requests
  • View user profile

Next Steps

  • Polish profile
  • Polis pending request view
  • Add a friend feature
  • Add Options page
  • Refactor application in React Native

Authors

  • Jakeh Clark

theloop's People

Contributors

materdev avatar

Watchers

James Cloos avatar Jay Torres avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.