Skip to content
/ loki Public

Mockup implemented only in the client side.

License

Notifications You must be signed in to change notification settings

doong-jo/loki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loki

API없이 프론트엔드 개발하기

Korean / 한국어

A repository that implements a sustainable way for frontend development in the absence of API or unreliable response.

intro

Concept

concept

  • miragejs is a library that helps you focus on frontend development regardless of API. API and DB can be defined directly in the front end, and API can be defined with less code.
  • mapper: Module that converts API response from actual screen / component to the required format
  1. Use miragejs to run a mock api (not a real server) running on the client-side.
  2. Model each API and DB (json) based on the screen.
  3. Say goodbye to the backend and focus on front development.
  4. Once API development and specification creation (from the API server) are complete, API integration begins.
    • Match the actual API response to the existing mock API response. → "Use mapper (implemented by the developer)"
    • When the API response is modified, only the mapper is modified.
    • If the API does not work, develop by running the existing mock api.