Skip to content

Cyber Manager API allows for a simple way of following and recording rentals for different computers. It also allows for saving basic information for the computers.

Notifications You must be signed in to change notification settings

RaisedEel/cyber-manager-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CYBER-MANAGER

Cyber Manager API allows for a simple way of following and recording rentals for different computers. It also allows for saving basic information for the computers.

Requirements

  1. You need to have Java on your machine.
  2. You need to have an MySQL instance installed on your machine. I recommend you install Laragon for an easier process.

Setting up the API

First download the API by downloading the Zip on this repository. Use the green button with the label Code.

If you are sure your MySQL instance is running and working, you will need the next information:

  1. Your username (The majority uses root as a starter name)
  2. Your password (If you didn't set a password when installing MySQL then you don't need this)

Setting the database

Now you need to create a database for the API to pick on and start working. Depending on your method of installation you will need to find a way to make queries to your database. For example Laragon comes with tools for this purpose, in any case there are a lot of different ways of doing this. You just need to run the next query:

CREATE DATABASE cyber_manager;

This query will create the database needed for the API to work.

Configuring the API

Inside the folder of the API go to the next directory: cyber-manager\src\main\resources. There you will find the application.properties file, open it with your text editor of choice and change the username and password with your own. If you don't have a password just leave it blank. Its important that you don't change anything else.

Start the API

Finally, you only have to open a terminal in the main directory of the project and run the command: mvnw clean spring-boot:run The API should be running now.

Next steps

Check the documentation by going to: http://localhost:8080/swagger-ui/index.html

Send some requests and try it out!

About

Cyber Manager API allows for a simple way of following and recording rentals for different computers. It also allows for saving basic information for the computers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages