Skip to content

novaguinea/findor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Findor API Documentation

Setup Go on your laptop/pc

  1. Download golang in this link
  2. Install golang (usual installation)
  3. Make sure golang path added to your advance system settings (system variables path)
  4. Check whether your golang successfully installed by typing this command on command line/terminal go version

Setup database for Findor

  1. Open XAMPP Control Panel and start MySQL (start apache if you open it from phpMyAdmin)
  2. Create database 'findor_db'
  3. Make sure findor database created!

Setup Findor project

  1. Clone this project git clone https://github.com/novaguinea/findor.git

  2. Open your terminal and direct to findor's folder

  3. Just to make sure all dependencies are installed run this in your command line (CLI) go mod tidy

  4. Open your XAMPP Control Panel and start MySQL

  5. Run findor project by run this command in CLI/terminal go run main.go

  6. Open your favorite web browser and access localhost:8080/ if it run successfully your browser will showing "hehe hello"

API Specification

Base URL = localhost:8080

Activity Method API Param / Return
Get All Users GET /user index : {id, name, email, password, address, skill, phone, age, isAvailable, avatarURL}
Get A User GET /user/:id {id, name, email, password, address, skill, phone, age, isAvailable, avatarURL}
Register POST /user {name, email, password, confirmPwd}
Login POST /login {email, password}
Edit Profile / Edit Password / Edit User Data PUT /user/:id name // email // password // address // skill // phone // age // isAvailable // avatarURL
Delete User DELETE /user/:id --

About

backend for findor app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published