• Stars
    star
    198
  • Rank 195,696 (Top 4 %)
  • Language
    JavaScript
  • Created almost 11 years ago
  • Updated almost 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

REST API built with Express.js, Mongoskin and Mocha

Node.js REST API Example with MongoDB, Mongoskin, Express 3 and 4

Express.js 4.x

master branch

Full tutorial: http://webapplog.com/express-js-4-node-js-and-mongodb-rest-api-tutorial/

Brief instructions:

$ git clone https://github.com/azat-co/rest-api-express.git
$ cd rest-api-express
$ npm install
$ node express.js

In a new terminal window:

$ mocha express.test.js

Or, if you don't have mocha installed globally:

$ ./node_modules/mocha/bin/mocha express.test.js

You can use package.json commands:

$ npm start
$ npm test

Express.js 3.x

express3 branch

Full tutorial: http://webapplog.com/tutorial-node-js-and-mongodb-json-rest-api-server-with-mongoskin-and-express-js/

Brief instructions:

$ git clone https://github.com/azat-co/rest-api-express.git
$ cd rest-api-express
$ git checkout express3
$ npm install
$ node express.js

in a new window

$ mocha express.test.js

or (if you don't have mocha installed globally):

$ ./node_modules/mocha/bin/mocha express.test.js

More Repositories

1

practicalnode

Practical Node.js, 1st and 2nd Editions [Apress] ๐Ÿ““
JavaScript
3,802
star
2

you-dont-know-node

You Don't Know Node.js
Python
1,504
star
3

cheatsheets

JavaScript and Node.js cheatsheets
HTML
1,341
star
4

expressworks

Learn Express.js from the author of one of the best books on Express.jsโ€”Pro Express.jsโ€” with this workshop that will teach you basics of Express.js.
JavaScript
684
star
5

mongoui

MongoDB admin UI server written in Node.js ๐ŸŽฎ
JavaScript
586
star
6

react-quickly

Source code for React Quickly [Manning, 2017]: Painless Web Apps with React, JSX, Redux, and GraphQL ๐Ÿ“•
JavaScript
540
star
7

fullstack-javascript

Source code for the Fullstack JavaScript book
JavaScript
513
star
8

react

Examples for the React Quickly book.
JavaScript
248
star
9

rpjs

Rapid Prototyping with JS examples. Rapid Prototyping with JS is a JavaScript and Node.js book that will teach you how to build mobile and web apps fast.
JavaScript
187
star
10

nodeframework

Hand-picked registry of Node.js frameworks.
HTML
161
star
11

node-patterns

Node Patterns: From Callbacks to Observer
JavaScript
158
star
12

hackhall

Invite-only community and social collaboration platform for programmers, startupers, JavaScript professionals and pirates.
JavaScript
152
star
13

blog-express

Express.js Blog App
JavaScript
133
star
14

expressjsguide

Express.js Guide code examples
JavaScript
110
star
15

todo-express

Express.js Todo App
CSS
108
star
16

proexpressjs

Examples for the Practical Node.js book [Apress, 2014]
JavaScript
106
star
17

react-native-quickly

JavaScript
100
star
18

node-advanced

Node Advanced Courseware
JavaScript
82
star
19

super-simple-backbone-starter-kit

Super Simple Backbone Starter Kit and Boilerplate
CSS
74
star
20

http2-express

JavaScript
61
star
21

proto-buffer-api

Google Protocol Buffers Node.js/Express.js API Example
JavaScript
58
star
22

meanworks

MEANWorks: MongoDB/Mongoose, Express, Angular and Node Workshop with Angular Fullstack Generator
JavaScript
41
star
23

openlist

Open source PHP web application for ad classified websites
PHP
37
star
24

http2-node-server-push

JavaScript
23
star
25

node-in-production

JavaScript
21
star
26

editor

Collaborative Online Real-Time Code Editor
JavaScript
20
star
27

universal-web

JavaScript
14
star
28

node-react

JavaScript
13
star
29

aws-intermediate

Shell
12
star
30

codedeploy-codepipeline-node

Shell
11
star
31

es7-es8

ES7/ES2016 and ES8/ES2017 Features
JavaScript
9
star
32

react-foundation

JavaScript
9
star
33

relay-modern

Relay Modern: Declarative Data-Driven React Apps Development with GraphQL
JavaScript
8
star
34

ga-backbone

Introduction to Backbone.js
JavaScript
7
star
35

simple-message-board

Simple Message Board with Parse.com REST API and jQuery
JavaScript
7
star
36

expressapiref

Express.js Deep API Reference
JavaScript
7
star
37

state-js

State of Javascript: Overview of recent ECMAScript standard and libraries (end of 2017, early 2018)
6
star
38

node-toolchain

https://node.university/p/node-toolchain
JavaScript
6
star
39

h2-node

6
star
40

mern

JavaScript
5
star
41

node-testing

Node Testing Courseware
JavaScript
5
star
42

copy-paste

Atom package for pasting code with delay
CoffeeScript
5
star
43

graphql-apollo

CSS
5
star
44

5-reasons

JavaScript
4
star
45

weather-app

JavaScript
3
star
46

aws-intro

Build Solid Foundation of Main AWS Concepts and Services Start Learning
Shell
3
star
47

nodejs-hello-world

nodejs-hello-world
JavaScript
3
star
48

ato-2018-writting

3
star
49

azat-co

Source code for http://azat.co personal website
HTML
3
star
50

es6

3
star
51

nodejs-message-board

nodejs-message-board
JavaScript
2
star
52

vote-app

JavaScript
2
star
53

swe-coaching

Software Engineering Mastermind and Coaching
2
star
54

mongo-message-board

mongo-message-board
JavaScript
2
star
55

rpjs-co

Rapid Prototyping with JS website (<http://rpjs.co>).
HTML
2
star
56

mongoose

JavaScript
2
star
57

react-native-timer

JavaScript
2
star
58

crud-rest-api

JavaScript
2
star
59

serverless

1
star
60

globalog

Colored logs without having to type "console".
JavaScript
1
star
61

Tasks

Various Tasks
Ruby
1
star
62

twitter-stream

JavaScript
1
star
63

practicalnodebook

Website for the Practical Node.js [Apress, 2014]
HTML
1
star
64

message-board

Message Board: Backbone + Parse.com
JavaScript
1
star
65

react-start

JavaScript
1
star
66

rest-api-koa-mongo

JavaScript
1
star
67

SquareQ

Square Coding Question
1
star
68

graphql-relay

JavaScript
1
star
69

ic

Image Conversion with ImageMagick
JavaScript
1
star
70

react-16

Demo project of all things new in React 16
JavaScript
1
star
71

150x

150x.co
JavaScript
1
star
72

azatblog

CSS
1
star
73

mobile-dapp-wrapper

Like Metamask but for mobile
JavaScript
1
star
74

rn-workshop

1
star