Skip to content

Repository files navigation

#Maintenance Tracker App

This is a web based application that allows Admin and clients to interact. Clients post their maintenance or repair requests while Admin approves or rejects them.

installation procedure.

a. Ensure you have python 3.6.2,pip, and virtualenv are installed on your local machine. b. Ensure you have Postman since it might bee needed to test the API c. Clone the project to your local machine. d. Navigate to the project folder. e. Create a virtual environment using virtualenv venv on your command line

```
export SECRET="random_key"
export APP_SETTINGS="development"
```
  1. Activate your virtual environment i.e. source venv/bin/activate.
  2. install the requirements in the environment i.e. pip install -r requirements.txt

Running the app

  1. python run.py

Working endpoints

URLMethodsDescription
/api/v1/register/POSTRegistering a new user
/api/v1/login/GETUser login
/api/v1/requests/POSTCreate a new request
/api/v1/requests/GETGet all user requests
/api/v1/requests/<user_id>GETGet all requests for a given user
/api/v1/requests/<request_id>GETGet a request
/api/v1/requests/<request_id>PUTEdit a request

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages