Skip to content

mel-michael/flixbus-station

Repository files navigation

Flixbus Mini Project

This is a mini project that is used to manger bus and station terminal listings. This project was generated with Angular CLI version 1.1.1.

Install

  • Clone repository git clone git@github.com:mel-michael/flixbus-station.git

  • Install packages npm install

  • Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Mock API Call

  • npm install json-server -g

  • cd to the project directory on another process

  • Run json-server --watch db.json to be able to mock Fake API calls

Running the mock server locally is advisable to see immediate changes. If you want to use a remote mock service here is the url for the data store https://my-json-server.typicode.com/mel-michael/flix-demo

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published