A textbook exchange service for university students.
- Ubuntu Server 16.04+ LTS
- MySQL Server 5.7+
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' }
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- Bootstrap
- Google Books
- NodeJS 12.19
- NPM 6.14
- Axios
- Express
- Jest
- MySQL
- Passport
- Sequelize
- Vue