/mailforever

✉ A better replacement for you mailbox!

Primary LanguageCSS

MailForever

A better replacement for you mailbox!

Try it out

  1. Clone this repo
$ git clone https://github.com/weslley39/askCharlie
  1. Install all dependencies (front/back)
$ cd web/
$ npm install
$ bower install

$ cd server/
$ npm install
  1. Run the back-end mock server
$ cd server/
$ node api.js
  1. Run the front-end server
$ cd web/
$ gulp server (for dev mode)
$ gulp serve:dist (for dist mode)

Then access http://localhost:3000/ Enjoy 😉

Routes

  • /inbox - List of all the emails/messages in you inbox
  • /sent - List of all the emails/messages sent

Features

  • Angular SPA
  • Routing with Ui Router
  • Angular TemplateCache for HTML partials be converted to JS
  • ngAnnotate for simple dependency injection
  • Live reload while developing with BrownserSync
  • Sass for CSS pre-processor
  • CoffeScript for fast coding
  • Uglify for optimize js files for production

Tests

All the tests are the files with the .spec extension around the project. There is unit tests for the validators the controllers and directives

If you want to run the tests:

$ cd web/
$ gulp test

After run the tests, a folder called coverage will be created at the root. If you want to see how much this project is coverage by unit tests, open the file in ./coverage/app/index.html

Things I would add/modify/approach differently for a production-ready system

I opened issues in this repo, with the label feature