Giter Club home page Giter Club logo

work-manager's Introduction

Topcoder - Challenge Creation App UI

This is the frontend application for creating and managing challenges.

Development deployment status

CircleCI

Production deployment status

CircleCI

Intended use

  • UI for creating challenges

Related repos

Prerequisites

Configuration

Production configuration is in config/constants/production.js Development configuration is in config/constants/development.js

Local Deployment Instructions

  1. First install dependancies
npm install
  1. copy the environment file in docs/dev.env to /.env

  2. add 127.0.0.1 local.topcoder-dev.com to your /etc/hosts file

  3. If you are using local instances of the API's, change the DEV_API_HOSTNAME in configs/constants/development.js to match your local api endpoint.

  4. Run the app in development mode

npm run dev

You can access the app from http://local.topcoder-dev.com:3001/

The page will reload if you make edits.

You will also see any lint errors in the console.

Lint check

To test the app for lint errors

npm run lint

Use the --fix flag to automatically fix errors.

Production deployment

To build the app for production

npm run build

Builds the app for production to the build folder.

It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

If you want to test to production build locally you can run

npm install -g serve
serve -s build

It serves the build folder locally.

Heroku Deployment

To deploy the app on heroku run

git init
heroku create tc-challenge-creation-app --buildpack mars/create-react-app
git add .
git commit -m "Heroku commit"
git push heroku master

You can access the app by running

heroku open

Running tests

Configuration

Test configuration is at config/env.js. You don't need to change them. for testing run below command

npm run test

Running tests in CI

  • TBD

Verification

  • TBD

work-manager's People

Contributors

jmgasper avatar suppermancool avatar thomaskranitsas avatar awzilkie avatar marioskranitsas avatar rashmi73 avatar codeminter avatar narekcat avatar prakashdurlabhji avatar rootelement avatar sumitdaga avatar r0hit-gupta avatar gauravseta avatar cwdcwd avatar gunasekar-k avatar nahidshahin avatar applehit16 avatar sexta13 avatar

Watchers

James Cloos 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.