Restaurant website built with Vue JS.
To get a local copy up and running follow these simple steps.
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
- Clone the repo
git clone https://github.com/jjulianto/culinary.git
- Change current directory to this repository folder
cd culinary
- Install dependencies
npm install
-
Run the project
-
Development mode
-
Run the server
npm run serve
-
Run the API
npm run api
-
Lints and fixes files
npm run lint
-
-
Production mode
npm run build
-
- Base URL :
http://localhost:8080/
- URL API :
http://localhost:3000/
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 |
Julianto - Github
- Vector Illustration unDraw
- Icons Font Awesome