Giter Club home page Giter Club logo

origin-assignment-frontend's Introduction

Origin Assignment - Frontend

Table of Contents
  1. About The Project
  2. Built With
  3. Getting Started

About The Project

This project is the frontend application (click here to access the backend repository) of this Origin's assignment.

The application consists of only one feature: calculate the financial score of a user based on their personal data, so the user inputs the annual income and monthly costs and the resulting score will appear on the screen (the score can be Healthy, Medium or Low).

Built With

Here are the main frameworks/libraries used on this project.

I chose Angular because it's the frontend framework I have the most experience with.

Getting Started

There are two ways of running this project: on your machine or on a docker container. The latter one is easier if you have Docker installed.

Dependencies

Wheter you are using Docker or not, you will need to install the application backend (check the documentation to see how to execute it):

If you are going to execute the project on your machine, then you will need to install these dependencies too:

Configuration

The only configuration is the URL of the backend API, this can be done in the /environments/environment.ts or /environments/environment.prod.ts (if you are running on the container). You don't need to change the default value unless you execute the API on another port.

Execution

On your machine

After cloning this repository you will need to execute the following commands on the root folder:

npm install

This will install all the project dependencies

ng serve

This will execute the project, just access http://localhost:4200 to view the application.

Using Docker

If you have Docker installed, then you only need to execute this two commands. The first one is going to build the image using the Dockerfile on the root of the project and the second one will run a container using that image.

docker build -t origin-angular-image .
docker run -it --rm -p 9000:80 origin-angular-image

You can now access http://localhost:9000 to view the application.

origin-assignment-frontend's People

Watchers

Laryssa Carvalho 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.