Giter VIP home page Giter VIP logo

agenda2's Introduction

AngularUI Agenda 2

Demonstrates how is build an AngularJS application using best practices, based on AngularUI and Bootstrap, and of course, PHP and MySQL for the api.

Version

2.0.0

Release Date

02/03/2016

What the application do?

With this app you can record your contacts. After that, you can edit them or remove them from your application. All information are saved into MySQL database.

Structure

/presentation
	/assets
		/css
		/images
		/js
	/client
		/app
		/content
/rest

Requirements

  • Install Vagrant

Running

Runs locally, database is required.

Setup instructions

Setup Vagrant for local development

For Windows/OS-X/Linux you must follow the next steps:

  • Download and install Virtualbox
  • Download and install Vagrant
  • Go to folder where the application is
  • Modify hosts file adding the line: 192.168.33.170 agenda.dev . The file can be found on /etc/hosts on OS-X/Linux or %SystemRoot%\System32\drivers\etc\hosts on Windows
  • Open a terminal (on OS-X or Linux) or command prompt (on Windows)
  • run command: vagrant up
  • to access the shell of the virtual machine type on a terminal (you must be in the application folder): vagrant ssh
  • Now you can access the application on your prefered browser: http://agenda.dev/

How to access the API

If you need to access the API, go: http://agenda.dev/api/ You can use some parameters:

  • all - to get all contacts from agenda - with GET method
  • count - to get count for how much contacts have your agenda - with GET method
  • contact - to save a contact - with POST method (you must send the contact in json format)
  • contact/:id - to update a contact, where :id is the contact id - with PUT method (you must send the contact in json format)
  • contact/:id - to delete a contact, where :id is the contact id - with DELETE method

Running on a server or local environment like XAMPP or WAMP or MAMP

  • Download the application
  • copy to your server or locally and unzip it in a folder named (e.g.) agenda
  • access the application from your browser like: http://your_server/agenda/

The end

That's all. For any questions please contact me at: [email protected]

Bye

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.