top 5 best practices for node.js development

16
Top 5 Best Practices for Node.js Development

Upload: aftership

Post on 02-Jul-2015

1.126 views

Category:

Software


3 download

DESCRIPTION

Get the best tips of building startup with Node.js from AfterShip - a shipment tracking API for online retailers, supporting UPS, FedEx, USPS, DHL and over 200 carriers.

TRANSCRIPT

Page 1: Top 5 Best Practices for Node.js Development

Top 5 Best Practices for

Node.js Development

Page 2: Top 5 Best Practices for Node.js Development

What’s AfterShip

Node.js Best Practices

Page 3: Top 5 Best Practices for Node.js Development

Shipment tracking API

Support 200+ carriers

Page 4: Top 5 Best Practices for Node.js Development

White-label tracking data30K Online Retailers

Page 5: Top 5 Best Practices for Node.js Development

The Art of Package TrackingUnifying tracking data

PendingInfo

ReceivedIn Transit

Outfor Delivery

FailedAttempt

Exception Delivered

Page 6: Top 5 Best Practices for Node.js Development

We track over 30M shipments10x growth year to year

0

1,000,000

2,000,000

3,000,000

4,000,000

5,000,000

6,000,000

7,000,000D

ec

Ja

n

Fe

b

Ma

r

Ap

r

Ma

y

Ju

n

Ju

l

Au

g

Se

p

Oc

t

Monthly Shipment

Page 7: Top 5 Best Practices for Node.js Development

AfterShip StackWe build product, not technology

beanstalkd

Page 8: Top 5 Best Practices for Node.js Development

Evolution – AfterShip StackReason for changing

Page 9: Top 5 Best Practices for Node.js Development

What’s AfterShip

Node.js Best Practices

Page 10: Top 5 Best Practices for Node.js Development

Define your

coding guideline

https://github.com/AfterShip/coding-guideline-javascript

Less communication

Avoid spagetti code

Page 11: Top 5 Best Practices for Node.js Development

Use npmEven for Private library

Page 12: Top 5 Best Practices for Node.js Development

DO NOT

reinvent

the wheel async, momentjs, request

lodash, pm2, jshint, mocha,

grunt

Page 13: Top 5 Best Practices for Node.js Development

Structure Node.js

application

Page 14: Top 5 Best Practices for Node.js Development

We made a big mistakeAPI first

Page 15: Top 5 Best Practices for Node.js Development

AfterShip is hiring (always)Backend / Frontend developers

Love codingApply the best tech to AfterShip

Self-learnerFind solution via your own ways

AdaptabilityNew projects, new tools

Page 16: Top 5 Best Practices for Node.js Development

[email protected] out aftership.com/jobs