Skip to content

jonhermsen-UNO/LibTrade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

198 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LibTrade

A textbook exchange service for university students.

Prerequisites

  • Ubuntu Server 16.04+ LTS
  • MySQL Server 5.7+

Installing LibTrade

Quick Start

The following steps are intended to prepare LibTrade for usage quickly. They do not address a secure or scalable installation. As such, they should be used when considering LibTrade for usage:

  • Pull the desired LibTrade release

  • Install the required client and server dependencies

    # Install client dependencies
    cd client
    npm install
    
    # Install server dependencies
    cd server
    npm install
  • Create a Google API key in the Google developer console

  • Create a /server/config/ folder with the following files and contents (change values as necessary):

    // /server/config/keys.js
    module.exports = {
      google: { apiKey: 'GOOGLE_API_KEY' },
      session: 'SESSION_SECRET'
    }
    
    // /server/config/database.js
    module.exports = {
      host: 'localhost',
      database: '',
      username:'',
      password: '',
      dialect: 'mysql'
    }

Using LibTrade

Before using LibTrade in a web browser, the application server and API server must both be started. Each server should be started using a separate terminal window.

# Start the application server
cd client
npm run serve

# Start the API server
cd server
npm run serve

Attribution

  • Bootstrap
  • Google Books
  • NodeJS 12.19
  • NPM 6.14
    • Axios
    • Express
    • Jest
    • MySQL
    • Passport
    • Sequelize
    • Vue

Contributors

About

A textbook exchange service for university students.

Resources

Stars

Watchers

Forks

Contributors