Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.

moondemon68/Crisweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crisweb

A simple dynamic webpage for Crisbar. Additional features may be added in the future.

Easy Start

Simply go to "crisweb-id.herokuapp.com".

Anything below this is for developers who want to test the webpage in their ownsystem.

Prerequisites

  • NodeJS

Getting Started

  1. Clone the repository to your own machine.
  2. Open your terminal and navigate to the repository folder.
  3. Type in "npm install" to install all node dependencies. (first time setup)
  4. Type in "node app.js" to start your server.
  5. Simply type in "localhost:3000" in your browser.

Features

  • Customizable menu
  • Customizable promo
  • Database wipe

How To Use

Add Menu

  1. Start the server.
  2. Type in "localhost:3000/addmenu" in your browser.
  3. Upload the photo of the menu, add name and description of the new menu.
  4. Press the submit button.
  5. You will be redirected to the home page.

Add Promo

  1. Start the server.
  2. Type in "localhost:3000/addpromo" in your browser.
  3. Upload the photo of the promo.
  4. Press the submit button.
  5. You will be redirected to the home page.

Wipe Database (CAREFUL)

  1. Start the server.
  2. Type in "localhost:3000/wipealldtbs" in your browser.
  3. You will be redirected to the home page, with all the database wiped.

Future Updates

  • Allow update of Menu and Promo.
  • Allow removal of several menus and promos. (Only allow removal of whole database for now)

About

Tugas milestone osjur SPARTA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published