Skip to content

smartcodeltd/attractor-2018

Repository files navigation

Attractor

Attractor is a new geo-marketing app.

Advertisers can employ virtual Attractors to make announcements in the streets of their cities and advertise local businesses and events.

Subscribers will hear announcements from nearby Attractors only, so you’ll always know when a new coffee shop opens close to you!

Setup

You'll need Node.js v. 10 and Git.

Clone this repository to your computer and run:

npm install          # to install the dependencies of this project
npm start            # to start the dev server at http://localhost:4200/
npm test             # to run the tests
npm test -- --watch  # to keep running the tests in the background

Development server

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

Angular Code scaffolding

Run npm run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run npm run build to build the project.

Running unit tests

Run npm test to execute the unit tests via Jest.

Documentation

This project uses a number of open-source tools, most notably: