Code Monkey home page Code Monkey logo

event-app's Introduction

Event App

Event app is a project to demonstrate my abilities developing apps. Live application here

Features

  • List events from MobilizeAmerica
  • Click an event from the list and it takes you to the location point in the map.
  • Map to see event locations.
  • See details from any event.

Extra credit:

  • Filter by zip code.
  • Infinite scrolling.

Setup & Development server

$ cd event-app
$ npm install
$ ng serve

Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

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. This is not a full suite of unit test. It should show 10 successful tests and 0 errors.

Documentation

Run npm run compodoc to generate it.

Run compodoc -s -r 4201 and navigate to http://127.0.0.1:4201, it will show all the app documentation.

Live documentation here

Tech

This project was built with Angular and Typescript. There is no specific reason why I chose Angular over other JS framework, I could say I feel more comfortable since I have been working with it around 4 years. It brings me all I need to develop an app such as http, router and form modules, and runs really fast. React or other JS framework handles the modules in a different way, adding them when it's needed, and it's easier to create a single component.

No bootstrap or other CSS libraries is used in this project, CSS with SCSS only. I copied some CSS from internet to make it faster like the loading and a few others. Mapbox is pretty decent, beautiful library and open source.

Mapbox is using OpenStreetMap which also it's open source. I think it's enough reason to choose this technology over Google Maps.

Plugins, Directives and libraries.

Plugin Version Links
Angular 9.0.0 https://angular.io/start
Angular Cli 9.1.0 https://cli.angular.io/
Typescript 3.7.5 https://www.typescriptlang.org/
Mapbox 4.3.0 https://docs.mapbox.com/mapbox-gl-js/api/
Infinite Scroll 8.0.1 https://github.com/orizens/ngx-infinite-scroll
Compodoc 1.1.11 https://compodoc.app/

Enjoy!

event-app's People

Contributors

jmchaves avatar

Stargazers

 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.