Skip to content

Files for my REST API tutorials featuring a server written in Python and a web client written in Javascript.

Notifications You must be signed in to change notification settings

jmdacruz/REST-tutorial

 
 

Repository files navigation

REST-tutorial

Files for my REST API tutorials featuring a server written in Python and a web client written in Javascript. Here are the articles:

Setup

  • Install Python 2.7, git and (optionally) MongoDB.
  • Run setup.sh (Linux, OS X, Cygwin) or setup.bat (Windows)
  • Run ./rest-server.py to start the server (on Windows use flask\Scripts\python rest-server.py instead)
  • Alternatively, run ./rest-server-v2.py to start the Flask-RESTful version of the server.
  • Alternatively, run ./rest-server-v2-mongo.py to start the Flask-RESTful + MongoDB version of the server. Please note that you need to run MongoDB before running this example.
  • Open http://localhost:5000/index.html on your web browser to run the client

About

Files for my REST API tutorials featuring a server written in Python and a web client written in Javascript.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • Shell 0.1%