A simple dynamic webpage for Crisbar. Additional features may be added in the future.
Simply go to "crisweb-id.herokuapp.com".
- NodeJS
- Clone the repository to your own machine.
- Open your terminal and navigate to the repository folder.
- Type in "npm install" to install all node dependencies. (first time setup)
- Type in "node app.js" to start your server.
- Simply type in "localhost:3000" in your browser.
- Customizable menu
- Customizable promo
- Database wipe
- Start the server.
- Type in "localhost:3000/addmenu" in your browser.
- Upload the photo of the menu, add name and description of the new menu.
- Press the submit button.
- You will be redirected to the home page.
- Start the server.
- Type in "localhost:3000/addpromo" in your browser.
- Upload the photo of the promo.
- Press the submit button.
- You will be redirected to the home page.
- Start the server.
- Type in "localhost:3000/wipealldtbs" in your browser.
- You will be redirected to the home page, with all the database wiped.
- Allow update of Menu and Promo.
- Allow removal of several menus and promos. (Only allow removal of whole database for now)