Skip to content

chkakaja/pokemarket

 
 

Repository files navigation

Stories in Ready

PokeMarket

PokeMarket is your personal, local marketplace for Pokemon transactions with real-time communication and negotation.

Table of Contents

  1. Usage
  2. Getting started
  3. Clone the latest version
  4. Install Dependencies
  5. Setup Environment Variables
  6. Start the application
  7. Technologies
  8. Team
  9. Contributing

Usage

Login: screen shot 2016-06-12 at 10 35 53 Home: screen shot 2016-06-12 at 10 36 08 Pokepage with Negotiation Chat: screen shot 2016-06-12 at 10 39 43 Video negotation: screen shot 2016-06-12 at 10 41 04 Payment: screen shot 2016-06-12 at 10 41 48

Getting started

1. Clone the latest version

Start by cloning the latest version of Vendr on your local machine by running:

$ git clone https://github.com/chkakaja/pokemarket
$ cd pokemarket

2. Install Dependencies

From within the root directory run the following command to install all dependencies:

$ npm install

3. Setup Environment Variables

Server side setup
  1. Copy and save the example.env file in the env folder as development.env.
  2. Replace the port with your desired port and enter the login credentials for your MySQL server (make sure it is running)
Client side setup
  1. Create a free account on http://face.sightcorp.com/ and create a new application for a new App Key.
  2. Copy and save the client-config.example.js file in the env folder as client-config.js.
  3. Enter and save your Client ID and App Key in the client-config.js file.

4. Run the application

  1. Create a build folder within client/build. From within the root directory run the following command to make sure Browserify builds the bundle file and rebuilds on every change with Watchify:
$ npm run bundle
  1. In a new terminal window run the following command to start the application:
$ npm start

After that open in your browser the localhost with your chosen port, e.g. http://localhost:4568/ to access the application.

5. Run tests

Configure the environment variable NODE_ENV prior to running tests.

$ export NODE_ENV=development
$ npm test

You may use npm run test-client or np run test-server to run front-end and back-end tests independently.

Technologies

Front end:
  • React
  • Redux
  • Webpack
  • Babel
Back end:
  • Node
  • Express
  • Bookshelf/Knex
  • MySQL
  • Passport
Deployment:
  • Digital Ocean Droplet
  • pm2: Production Process Manager

Team

  • Product Owner: Christian Haug
  • Scrum Master: Jack Zhang
  • Development Team Members: Christian Haug, Jack Zhang, Kani Munidasa, Katherine Hao

Contributing

See CONTRIBUTING.md for contribution guidelines.

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 83.8%
  • CSS 14.3%
  • HTML 1.9%