https://github.com/jeromewu/erm-server
Express-Restify-Mongoose Server
https://github.com/jeromewu/erm-server
Last synced: about 1 year ago
JSON representation
Express-Restify-Mongoose Server
- Host: GitHub
- URL: https://github.com/jeromewu/erm-server
- Owner: jeromewu
- Created: 2015-04-26T07:10:53.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-26T08:10:16.000Z (about 11 years ago)
- Last Synced: 2025-02-05T06:43:41.917Z (over 1 year ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# erm-server
## Introduction
Express-Restify-Mongoose server (erm-server) is a node.js based approach to create a RESTful API server with a short period of time, it utilizes the library of express-restify-mongoose (https://github.com/florianholzapfel/express-restify-mongoose).
## Build
```
npm install
```
You will need to install mongodb as well
## Execution
```
npm start
```
## Development
See `config.js` to define the port of the server and the URI of the mongodb. To build your own RESTful API, first you need to define the mongoose model in json format and put in `./mongoose-models`, the name of the json file will be the name of the collection, and the content will be the schema. Then start the server and that's it!