GithubHelp home page GithubHelp logo

tyagirajat200 / test-2405-q-efc1b30e67b542409962a87e272d5bfc-8376-angular-7-npm-in-docker Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 345 KB

Dockerfile 2.44% Shell 1.81% JavaScript 5.52% TypeScript 66.56% HTML 19.60% CSS 4.07%

test-2405-q-efc1b30e67b542409962a87e272d5bfc-8376-angular-7-npm-in-docker's Introduction

cj-app

Angular 7 SPA

IMPORTANT NOTES (In case Backend Service API Integration is required):

1. The backend endpoint host url is mentioned in environment.ts as well as environment.prod.ts. The property name is "apiUrl". An example is mentioned in "app.component.ts".
2. PLEASE USE THIS PROPERTY ("apiUrl") WHEN YOU ARE TRYING TO CALL A BACKEND API. ALSO DON'T CHANGE THIS PROPERTY ELSE THE APP WILL NOT BUILD PROPERLY AND YOUR SUBMISSION WILL NOT BE SCORED. 
3. Make sure that all the properties mentioned in environment.ts are also mentioned in environment.prod.ts for the app to build properly.

PROJECT BUILD STEPS (Make sure that your project is getting built successfully):

Pre-requisites:
1. Install http-server module (https://www.npmjs.com/package/http-server).
2. Install node, npm, angular-cli (7.3.9) for angular 7

Steps:
1. Go to the project root directory.
2. Run the following commands in the terminal/command line to build the app:
        - npm install
        - ng build --prod    
3. Please make sure that your project is built successfully.

CLOUD-IDE SETUP STEPS(follow the below steps in case you are using the Cloud IDE instead of your Local IDE):

1. Please run the below commands from the project root in a separate terminal to setup live run support in Cloud IDE:
    - chmod 0755 ./chrome-test-setup.sh
    - sh ./chrome-test-setup.sh
2. Make the port 9515 public

test-2405-q-efc1b30e67b542409962a87e272d5bfc-8376-angular-7-npm-in-docker's People

Contributors

cj-rajat avatar tyagirajat200 avatar codejudge-admin avatar

Watchers

 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.