thalysonalexr / API-RESTful-cadtreesa

Service to cadreesa project. Serving the website and android application | Project development at course Information System by UFMT 🌳

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API-RESTful-Cadtreesa

Service for the cadreesa project. Serving the website and android application ☕

Release version License

Introduction to API-RESTful-Cadtreesa

This project was developed for the purpose of studying API's RESTful with Json Web Token authentication (JWT). For the development model, a project was used during the course of Information Systems.

API Documentation

We used the documentation standard of the API Blueprint. See the documentation for this API with Github Pages rendered with Aglio:

Documentation in Github Pages

Documentation in Markdown apiblueprint.org

About Cadtreesa Project

The Cadtreesa project was proposed during the discipline of Programming Language Concepts of the Information Systems course at UFMT-MT, Brazil.

Scope of the problem

Register and validate trees by means of an Android application being the target public the students of the course of Agricultural and Environmental Engineering.

Solution proposed by project members (Me, Rodrigo Oliveira e Nicolas Tiago).

Registration of trees by students, teachers and coordinator. Once the tree has been registered by a user, it must be validated by a teacher or coordinator. Once validated the tree can have its information available on a web page that will be accessed from QR Codes generated at the time of registering the tree. These codes contain the address of the page with the tree information. Get to know the project page.

Entities and operations

  • Operations CRUD in the Trees entity
  • Operations CRUD in the Users entity with authentication

Relational schema

The relational schema of the project (updated for this study) can be seen here: Cadtreesa_db

Installation

$ git clone https://github.com/thalysonalexr/API-RESTful-cadtreesa.git

Dependencies

Tested in php >= 7.2.3

This project uses composer to manage your dependencies. Before testing run the following command with the composer already installed on your machine.

$ composer update

Test

This project was tested only on local server using the php embedded server. To run the project, run the following command for the public directory:

$ php -S localhost:4000 -t public

References

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Service to cadreesa project. Serving the website and android application | Project development at course Information System by UFMT 🌳

License:MIT License


Languages

Language:PHP 95.8%Language:TSQL 3.5%Language:HTML 0.7%