Giter VIP home page Giter VIP logo

admin-app-1's Introduction

CircleCI

support-admin-app

Support application

Internal application used to administer specific support tasks related to the Topcoder platform.

Software Requirements

  • node.js v6 (not later)
  • npm v3
  • Google Chrome browser version >= 55.0.2883.0

Installation

To install npm dependencies run:

npm install

Configuration

The configuration is provided in config.json in the base directory. It contains four environments (local, dev, qa, prod) which are controlled by the BUILD_ENV environment variable, it defaults to the dev environment if BUILD_ENV is empty.

The following configuration parameters are available:

Name Description
API_URL URL of the topcoder API
ADMIN_TOOL_URL URL of the admin tool API
API_VERSION_PATH Version of the API
COOKIES_SECURE If true the cookies set by this App will only be transmitted over secure protocols like https.
AUTH_URL Url of Topcoder auth form
ACCOUNTS_CONNECTOR_URL Url to TC account connector
JWT_V3_NAME jwt V3 cookie name
JWT_V2_NAME jwt V2 cookie name
OAUTH2_TOKEN_NAME OAuth2 token name
OAUTH2_TOKEN_EXPIRETIME_TAGNAME OAuth2 token expire time tag name
SPIGIT_API_URL SPIGIT api base url
SPIGIT_API_VERSION_PATH SPIGIT api version path
GROUP_V5_API_URL URL of the v5 Groups API
LOOKUP_V5_API_URL URL of the v5 Devices API
TERMS_V5_API_URL URL of the v5 Terms API
CHALLENGES_V5_API_URL URL of the v5 Challenges API
RESOURCE_V5_API_URL URL of the v5 Resources API
MEMBER_V5_API_URL URL of the v5 Member API
AGREE_FOR_DOCUSIGN_TEMPLATE UUID from Database of the "DocuSign Template" Agreeable type
AGREE_ELECTRONICALLY UUID from Database of the Electronically Agreeable Type
DEFAULT_TERMS_TYPE_ID The default terms type id
CONNECT_URL URL of Topcoder Connect
DIRECT_URL URL of Topcoder Direct
WORK_MANAGER_URL URL of Topcoder Work Manager
ONLINE_REVIEW_URL URL of Topcoder Online Review

Start the Application

Simply execute the following command to start the app in development mode (with browsersync)

npm install
npm run dev

Application will be hosted and running at http://localhost:3000.

Execute E2E Tests

Before executing the end-to-end (e2e) protractor tests, these environment variables should be set:

Name Description Default Value
BUILD_ENV Deployment configuration to be tested by e2e tests. See Configuration for possible values. Defaults to dev.
TEST_PORT Port from which to serve the app for e2e tests. Defaults to 3000.

npm test

Fallback instruction in case the npm scripts fail

Install global dependencies

npm install -g [email protected]

Install project dependencies

npm install

Start the Application

gulp serve

Build the Application

gulp build

Execute E2E Tests

gulp protractor

Update to Push CI

admin-app-1's People

Contributors

ajefts avatar huangqun avatar maxceem avatar anonymousjaggu avatar gunasekar-k avatar fdittz avatar riteshsangwan avatar mishacucicea avatar gus-costa avatar rootelement avatar nkumar-topcoder avatar sudoster avatar sah2ed avatar eisbilir avatar bannie2492 avatar ramapemmaraju avatar m-yadav avatar jmgasper avatar dmessing avatar dashu-baba avatar parthshah avatar dependabot[bot] avatar lijulat avatar mtwomey avatar dulanja33 avatar pfilippi24 avatar riteshtc avatar sachin-maheshwari avatar jpeg22 avatar standlove avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.