nodejs-booklog's People
nodejs-booklog's Issues
First Express Middleware
Nodejs Workflow
Understand URL Routing
Reference
- https://github.com/strongloop/express/tree/4.x/examples
- https://github.com/strongloop/express/tree/4.x/examples/route-separation
- https://github.com/strongloop/express/tree/4.x/examples/web-service
CRUD
- POST : Create
- GET : Read
- PUT : Update
- DELETE : Delete
Error Number
- 404: 找不到頁面
- 200: OK
- 500: 內部程式錯誤
- 304: 網址被移走
- 302: 內容沒有被修改
Welcome Page
Frontend Development
Agenda
- Basic UI
- Backbone and REST APIs
- UI states
Resource
Add: Mongoose Driver
線上金流: Paypal
- Create REST App and get sandbox credentials.
- Save payments
- Implement full state machine
- Purchase button and payment button (Frontend)
- Execute payment (Implement Paypal approval callback)
https://developer.paypal.com/docs/api/
https://developer.paypal.com/webapps/developer/docs/api/#create-a-payment
https://github.com/paypal/PayPal-node-SDK
http://mongoosejs.com/docs/api.html#model_Model.findByIdAndUpdate
http://docs.mongodb.org/manual/reference/operator/update/addToSet/
REST APIs
Get selected article
- GET /1/post/
OAuth: use Passport and Facebook strategy
Use Reference Model
User System
Use Schema Index
- Data Model / Schema / Index
- $project / populate() , Data Model / Schema / select
- http://mongoosejs.com/docs/api.html#schematype_SchemaType-index
- http://mongoosejs.com/docs/api.html#aggregate_Aggregate
- http://mongoosejs.com/docs/api.html#model_Model.populate
- http://mongoosejs.com/docs/api.html#schematype_SchemaType-required
- http://mongoosejs.com/docs/api.html#schematype_SchemaType-select
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.