Skip to content

Ryanjso/wefunder-hw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gatsby

The Challenge

Build a tool that allows a user to upload their pitch deck and display it on a web page.

At a minimum, you should have:

  1. A web page that allows a user to upload a file as a PDF. Bonus points for supporting PPT and other formats too.
  2. A backend that takes the uploaded file and generates an image for each slide.
  3. A web page that displays the deck using the image of each slide, like on the Wefunder profile page.

There are two ways to view this repo

  1. Live at http://wefunder-hw.us-east-2.elasticbeanstalk.com/ (Recommended)

    1. Home
    2. Raise Money
    3. View all companies currently raising
    4. View one company currently raising (Airbnb)
  2. Self setup


Self setup

  • Self setup instructions

    🚦 Getting Started

    1. Download necessary software

      A few types of software are needed for the conversion of different filetypes. Below are instructions for installing them on Ubuntu

    2. Node >= 12.x

      sudo apt install nodejs
      sudo apt install npm
    3. graphicsmagick

      sudo apt install graphicsmagick
    4. ghostscript

      sudo apt install ghostscript
    5. LibreOffice

      Note the location of where this is installed as it is needed later in the environment setup

      sudo apt install libreoffice
    6. Clone the repository

      git clone https://github.com/Ryanjso/wefunder-hw
    7. Set up environment variables

      In the server folder is a file called .env.example. This holds all of the necessary environment variables to create this project.

      Copy the file once, name the new file .env, and add the necessary values. Do not commit this file to the Github repo

      # In .env
      # default is: mongodb://localhost:27017/{databaseName}
      # Database. if you use MongoAtlas they will provide a connection string
      MONGO_CONNECTION=
      
      # AWS S3 Info
      AWS_ACCESS_ID=
      AWS_ACCESS_SECRET=
      AWS_BUCKET_NAME=
      
      # LibreOffice
      # The location of Libre Office on your device
      # Ex: /Applications/LibreOffice.app/Contents/MacOS/soffice
      SOFFICE_LOCATION=
    8. Install the npm modules

      # Inside the server directory
      npm install
      # Inside the angular-wefunder-hw directory
      npm install

      Run server/development environment:

      # inside the server directory
      npm start
    9. View server

      (It will likely run on this specified port unless it is in use). Visit http://localhost:3000/ to view your site


😃 Developer

Ryan Soderberg

Email: ryanjsoderberg@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published