Built with ❤︎
# clone it
git clone https://github.com/gitxapp/gitx.git
cd gitx
- Create a new oauth app in github by going to https://github.com/settings/developers
- Set call back url as http://localhost:5000/api/v1/oauth/redirect
Add .env
file under the top level of the project.
Add the following details
DB_URI = 'mongodb://localhost/gitx'
GITHUB_CLIENT_ID = <GITHUB_APP_CLIENT_ID>
GITHUB_CLIENT_SECRET = <GITHUB_APP_CLIENT_SECRET>
JWT_KEY = <JWT_KEY>
REDIS_URL = 'redis://127.0.0.1:6379'
HEROKU_URL= <HEROKU_URL>
WELCOME_URL='https://gitxapp.com/welcome.html'
Add constants.js
file under the src
folder
Add the following details
export const VERSION = "v1";
export const INSTALL_URL = "https://gitxapp.com/connect.html";
export const UN_INSTALL_URL = "https://gitxapp.com/uninstall.html";
export const URL = "http://localhost:5000/api/";
export const REDIRECT_URL = "GITHUB_CALLBACK_URL";
export const APP_ID = "GITHUB_APP_CLIENT_ID";
# Install dependencies
yarn install
# Start the app
yarn server
# Make a build
yarn client
# Open chrome://extensions/ from your chrome browser and enable Developer mode
# Click on "Load unpacked" button and upload the build folder
Feel free to send us feedback on Twitter or file an issue.
Gitxapp © 2019-2020 - Released under the MIT License.