A simple website demonstrating CRUD, built using AngularJS, and powered by Simple REST API.
You will need:
- Run the following commands
git clone git@github.com:simpulton/simple-rest-website.git
cd simple-rest-website
npm install -g serve
serve public
-
Navigate to localhost:3000.
-
Hooray! Now you can interact with the API running on heroku! How simple was that??
If you would like to run your own api, then
-
head over to Simple REST API and follow the directions there to run the API.
-
Update public/app/app.js to use the local api server at http://localhost:1337/api/
- Note: If you want to use the version without authentication, checkout the "without-auth" branch. Be sure to do the same in the simple-rest-api repo. Restart the API if necessary.