Skip to content

fauzibrillian/hi-SPEC-API-Apps

 
 

Repository files navigation

hi'SPEC

About The Project

hi'Spec is a website that helps you choose the right laptop according to your needs. With a compare feature, you can freely bring the laptop side to side, and decide which will suitable for your needs.

Build App & Database

OpenAI Badge Github Badge Midtrans Badge Go Badge Ubuntu Badge Cloudflare Badge Amazon EC2 Badge Swagger Badge Postman Badge Insomnia Badge Docker Badge MySQL Badge JSON Web Tokens Badge

🚀 TechStack

TectStack

📍 ERD

ERD_Hi'Spec drawio (4)

🏃 Run Locally

Clone the project

git clone https://github.com/hi-specs/BE-hi-SPEC.git

Go to the project directory

cd BE-hi-SPEC

Install dependency

go mod tidy

🖥️ Open Api

If you're interested in using our Open Api, this is an example of how to do so.

Final Project Capstone Program Immersive Alterra Academy
Go to Open API »

Admin
Feature User Endpoint Param JWT Token Function
GET /dashboard - + Display the total user, product, and transaction.
GET /users - + Get all user.
GET /transactions - + Get all transaction.
POST /product - + Create product with OpenAI.
User
Feature Groups Endpoint Param JWT Token Function
GET /user - + Get user by id.
GET /user/search Email User + Search user.
POST /login - - Login.
POST /register - - Register.
POST /user/fav/add/{id} Product ID + Wishlist.
PATCH /user/{id} User ID + Update user by id.
DELETE /user/{id} User ID + Displaying Group detail by id.
DELETE /group/{id} ID Groups YES Delete Groups.
DELETE /user/fav/{id} Wishlist ID + Delete Groups.
Product
Feature Chats Endpoint Param JWT Token Function
GET /products - - Get all product.
GET /product/{id} Product ID - Get product.
GET /product/search Name/Category/MinPrice/MaxPrice - Send a message to the groups.
PATCH /product/{id} Product ID + Edit product.
DELETE /product/{id} Product ID + Delete product.
Transaction

Several commands make use of Locations features, as shown below.

Feature Locations Endpoint Param JWT Token Function
POST /transaction - + Checkout product.
GET /transaction/user/{id} User ID + Get transaction list from user.
GET /transaction/download/{id} Transaction ID + Download transaction detail.

🧔 Author

  • John Matthew David Github Badge

  • Fauzi Brillian Ananta Github Badge

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 100.0%