Coder Social home page Coder Social logo

miauto_xmfa's Introduction

MiAuto Employee Platform

Welcome to the GitHub-repository of the MiAuto Employee Platform. On this version of the platform Garage Administrators of MiAuto are able to use CRUD actions on Employees, Clients, Cars and Appointments.

Installation

Introduction

This project was created using Angular and Angular CLI with the IDE Visual Studio Code.

Angular is a front-end framework which is used to create web applications. It uses TypeScript by default for creating logics and methods for a class but the browser doesn't know TypeScript. Here webpack comes in picture. Webpack is used to compile these TypeScript files to JavaScript. In addition, there are so many configuration files you will need to run an Angular project on your computer.

Angular CLI is a tool that does all these things for you in some simple commands. Angular CLI uses webpack behind to do all this process.

Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages (such as C++, C#, Java, Python, PHP, GO) and runtimes (such as .NET and Unity).

Prerequisites

Visual Studio Code

Before you can clone the project, please make sure you have installed Visual Studio Code. If you haven't installed it yet, you can download it here: https://code.visualstudio.com/.

Node.js and NPM

Please also make sure you have installed node and npm in your system. You can check your current node version and npm version by using the following commands:

node --version
npm --version

If you haven't installed Node.js yet, you can download it here: https://nodejs.org/en/download/.

Note: Basically npm is installed at the same time as Node.js. If not, you can always download the latest version of npm by using the following command:

npm install -g npm

Angular CLI

At last please also make sure you have installed the Angular CLI in your system. If you haven't installed it yet, you can install it by using the following command:

npm install -g @angular/cli

That's it! You are now ready to create a new Angular project or use an existing Angular project.

Setup of the project

Step 1: Clone the project

The first step is to clone this project to your system. You can do this by using the following command:

git clone https://github.com/Molaahmed/MiAuto.git

Step 2: Open the project in your IDE

The second step is to open the IDE you want to work with. Then you have to open the project within the opened IDE.

Step 3: Start the project

The third step is to start the project. You can do this by using the following command:

ng serve

You can also do this by using one of the npm scripts. To make them appear you need to click on the package.json file.

Use the start script, which does the same as the ng serve command, to start the project.

Note: Make sure you have selected NPM scripts to make them appear, if they are not appearing at first. selecting-npm-scripts-visual-studio-code

Step 4: Accessing the project

The last step is to access the launched project on your web broswer. You can access the launched project by going to the following URL: http://localhost:4200/

If all goes well, you should see the following page: miauto-employee-platform-login-screen

On this page you, as a Garage Administrator, can login to the MiAuto Employee Platform with the right credentials.

Changing the API

A hosted version of the API was used for this project, so that it is available for making various calls. To change this you need to change the API_URL variable in each service of the project to the desired URL. changing-current-api

miauto_xmfa's People

Contributors

julioandre avatar molaahmed avatar trellixvulnteam avatar vluuk 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.