Git Product home page Git Product logo

coldcall's Introduction

We're now coldcall.co!


Cold Call

Connecting, Learning, and Empowering students.

Note

This repository is legacy code for our revamped platform at coldcall.co. coldcall.ai redirects to coldcall.co.

Instructions

To run this platform locally for development/testing purposes, following the instructions below after cloning the repository. Make sure you have ReactJS, ExpressJS, and NodeJS installed. The remaining dependencies that need to be installed can be found by running the platform and checking the errors. (react-router-dom, styled-components, jwt-auth, etc.)

Frontend:

  • cd to /frontend directory
  • Execute command: npm run start
  • Frontend should load in a browser window

Backend:

  • Run PostgreSQL (assuming already installed)
  • Create database β€œcoldcall” β†’ CREATE DATABASE coldcall
  • Copy DATABASE_URL from PostgreSQL and replace in /backend/api/.env
  • Make sure copied in the proper PostgreSQL credentials (username, password). It should still be @localhost:5432 since that's the default port.
  • Access /backend/api/app/db/dbLoad.js and replace file paths in queries with full file paths of the data files, which are accessible in the /data directory in the same path (do not use relative paths as Postrgres cannot interpret them)
  • cd to /backend/api directory
  • Execute command: npm run build
  • This command creates the relations in the "coldcall" PostgreSQL database, along with loading all of our production data
  • Access API endpoints to check if successfully deployed (ex. localhost:3000/api/users)

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.