Skip to content

jjulianto/culinary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Culinary

Restaurant website built with Vue JS.

Table of Contents

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

These are list of things you need to have before you use the project and how to install them.

  • Node.js
    Download the Node.js installer here
    Run the installer
  • Text Editor
    You can choose any text editor that suits you the most, but I recomend using Visual Studio Code
    Download the VSCode installer here
    Run the installer
  • NPM
    Download npm in Command Line Interface by typing the command :
npm install npm@latest -g
  • JSON Server
    Download JSON Server in Command Line Interface by typing the command :
npm install -g json-server

Installation

  1. Clone the repo
git clone https://github.com/jjulianto/culinary.git
  1. Change current directory to this repository folder
cd culinary
  1. Install dependencies
npm install
  1. Run the project

    • Development mode

      1. Run the server

        npm run serve
        
      2. Run the API

        npm run api
        
      3. Lints and fixes files

        npm run lint
        
    • Production mode

      npm run build
      

Usage

  • Base URL : http://localhost:8080/
  • URL API : http://localhost:3000/

API Endpoint

Endpoint Description Parameter Method
/ Only the start page shows basic information No GET
/products To display the entire food list No GET
/keranjangs To display the food that has successfully entered the cart No GET
/pesanans To display the food that has been successfully ordered No GET

Author

Julianto - Github

Additional Information

License

Customize configuration

See Configuration Reference.

About

Restaurant website built with Vue JS and Fake API (JSON-Server)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published