##Resting Template
A basic template for RESTful Web Services in many popular web languages. With an AngularJS front-end template.
##Web Stacks
######PHP Web Service
- SLIM PHP Framework
- MySQL
######NodeJS (MEAN) Web Service
- ExpressJS Framework
- Mongo Database
######Python Web Service (Coming Soon)
- Pyramid Web Framework
- Neo4j Graph Database
##Main Functionality
- GET
- POST
- PUT
- DELETE
- SEARCH
- Open OSX Terminal.
- Install Homebrew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Update Homebrew:
brew update
- Install Node:
brew install node
- Install Express:
npm install -g express
- Install Mongo:
brew install mongodb
andbrew upgrade mongodb
- Create Data Directory:
mkdir -p /data/db
- Start Mongo Server:
mongod
- Clone the Repo:
git clone git://github.com/leorue/resting-template.git
- Enter Node API Directory:
cd resting-template/api/node/bin
- Start up the server:
node www.js
- View in browser at http://localhost:8000/api/movies/
- Coming Soon!!
- Download and Run MAMP or MAMP Pro.
- Set Root Directory to the
resting-template
Directory: Hosts > General > Document Root > Set toresting-template
- Set Index permissions: Hosts > Extended > Check:
Indexes
and Check:SymLinksIfOwnerMatch
- Create SQL Database: Load PHPmyAdmin > New > Enter: data > create > SQL Tab > Copy/Paste Cellar.sql > Go
- Create New User: Home > Users > Add User >
Username: data, Host: localhost, Password: jh43it87
> Global Privilages > Check All > Go - View in browser at http://localhost:8888/api/php/wines/:id
- View Project Interface
- Store Image and File Uploads
- API Authenitcation
- Update Front-end Design
- NodeJS API Search Query Function
- Python RESTful Web Service (Pyramid and Neo4j)
===== If you have any questions or requests, email us at schultz.leo@gmail.com and we'll keep updating this to make it perfect.