Skip to content

simpulton/simple-rest-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

Simple REST Website

A simple website demonstrating CRUD, built using AngularJS, and powered by Simple REST API.

Prerequisites

You will need:

Getting Started

  1. Run the following commands
git clone git@github.com:simpulton/simple-rest-website.git
cd simple-rest-website
npm install -g serve
serve public
  1. Navigate to localhost:3000.

  2. Hooray! Now you can interact with the API running on heroku! How simple was that??

Running your own API server

If you would like to run your own api, then

  1. head over to Simple REST API and follow the directions there to run the API.

  2. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published