https://github.com/codefta/go-mini-commerce
The take home project for technical interview - dot freelancer
https://github.com/codefta/go-mini-commerce
Last synced: over 1 year ago
JSON representation
The take home project for technical interview - dot freelancer
- Host: GitHub
- URL: https://github.com/codefta/go-mini-commerce
- Owner: codefta
- Created: 2021-07-23T13:21:25.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-28T00:49:23.000Z (almost 5 years ago)
- Last Synced: 2023-04-27T04:17:19.066Z (about 3 years ago)
- Language: Go
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mini Commerce API
This is API for simple E-Commerce
- [Features](#features)
- [Usage](#usage)
- [Further Development](#further-development)
## Features
- Provide Restful API (GET, POST, PUT, DELETE)
- Using Relational Database (in this case, i use many-to-many relationship)
- Primitive SQL Query
- MVC Pattern (I'm using this pattern because good for maintain monolith service and used by many people)
- Redis for cache (set and get key when use method `GET`, unset all key when using method `POST`, `PUT`, and `DELETE`)
## Usage
- Running the API
`make run`
- Rebuild app
`make update-app`
- Rebuild db
`make update-db`
- Stop the API
`make down`
## Further Development
- Using ORM for connection db
- Implement unit test and integration test
- Implement CLEAN code for this project