Pair Me is a pair-programming platform that lets you do code-challenges at the same time. It helps doing code-challenges twice as fun with a random pair. A user can also choose an online friend to do the challenge with them. It utilizes the Ace Editor and running the code inputted to it in JS Sandbox library to help protect our app from untrusted code. GitHub credentials are used for authentication via Passport. Both users can type in the Ace editor to solve the challenge presented to them, and they also have the opportunity to chat with each other.
- NodeJs
- Express
- React
- Socket.io
- PostgreSQL
- Knex
- BootStrap
- Install dependencies:
npm i
- Fix to binaries for sass:
npm rebuild node-sass
- Run
npm run webpack:watch
- Create the
.env
by using.env.example
as a reference in the same directory. - Update the .env file with your correct local information
- Install dependencies:
npm i
- Run migrations on server :
npm run knex migrate:latest
- Check the migrations folder to see what gets created in the DB
- Run the seed:
npm run knex seed:run
- Check the seeds file to see what gets seeded in the DB
- Run the server:
npm start
- Visit
http://localhost:8080/
- Node 5.10.x or above
- NPM 3.8.x or above