Giter Site home page Giter Site logo

boobo94 / customenu Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 1.0 2.51 MB

Customenu - Help your customers find dishes more easily. Throw away your classic menu, forget about the hard-to-use pdf menu and digitize your restaurant with a customized solution.

JavaScript 59.34% HTML 0.62% Vue 37.56% Shell 1.05% Dockerfile 1.16% SCSS 0.28%
docker nodejs qrcode vuejs vuejs2 vuejs3 vuetify2 vuetify3 digital-menu qr-code

customenu's Introduction

Customenu

meniu-digital-customenu-thumb

Production utils URLs

Title URL Description
Website https://customenu.net/ The main website.
Web App https://app.customenu.net/:custom-url The customenu mobile app.
Admin https://admin.customenu.net The admin app where the customers manage their menu.
Proxy Manager Nginx http://proxymanager.customenu.net/login Used to manage subdomain, nginx configuration, redirects, 404 page, etc.
Portainer http://portainer.customenu.net/ Manage docker containers, statistics, processes and usage.
Linode Cloud https://www.linode.com/login The server and object storage is handled using Linode.
Hostico Host+Domain https://hostico.ro/client/ The host of the website, domain, email and cPanel.
Instagram account https://www.instagram.com/customenu_net The instagram profile.
Facebook account https://www.facebook.com/customenu The Facebook profile.

Setup and release the project

Run the localhost orchestration

Start databse within docker, don't worry data is persistent.

docker-compose --env-file .env -p customenu -f docker/docker-compose.yml -f docker/docker-compose.dev.yml up --build

Start api

cd api
npm i
npm start

Start app

cd app
npm i
npm run serve

Start admin

cd admin
npm i
npm run serve

Deploy

ssh [email protected]<<'EOL'
cd customenu/ && \
sh bin/build.sh
exit
EOL

Initial setup the production server

1. Be sure you have an .env file.

cp .env.example .env

Now modify the env file content.

Once you finished with .env file, execute

sh bin/run-prod.sh

2. Setup portainer

Open localhost:9000 and pickup the username and password then press Create User.

3. Setup Nginx proxy manager

Open http://localhost:81 and login using the default credentials:

Email: [email protected]

Password: changeme

Then you have to enter the old password and set a new email and password.

For more instructions check the official documentation

4. Run the seeds

cd api/src/database
npx sequelize db:seed:all --config=config/config.js

If you encounter issues with the current docker compose, I prepared a script to force rebuild with no cache

sh bin/force-rebuild-docker.sh

5. Configure the backup scripts

Install linodecli and configure the server.

Setup the cronjob

crontab -e

by adding at the end of the file this:

0 2 * * * /bin/bash /root/customenu/bin/db-backup.sh

This will run the script every day at 02:00 UTC.

Utils

Clean docker containers, images etc

Remove all stopped containers, networks not used by at least one container, dangling images, dangling build cache

docker system prune

1-meniu-home-473x1024 2-menu-change-the-language-473x1024 3-menu-about-restaurant-473x1024 4-products-of-menu-473x1024 5-menu-search-product-473x1024 6-menu-shopping-cart-473x1024

customenu's People

Contributors

boobo94 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mindgibber

customenu's Issues

Decide the pricing of subscription & configure the product in stripe

Total costs per year: #26

Free plan

Features

  • 5 categories
  • 50 products

Standard plan

Price: 100€/year

Pro plan

Price: 149€/year

Features

  • unlimited menu updates
  • unlimited scans
  • custom contact page
  • unlimited categories
  • unlimited products
  • allergens tracking
  • product price
  • product cooking time
  • product weight
  • multilanguage

Create website

  • Decide whether to use WordPress or a custom website. - WordPress
  • Should we have a blog?
  • #19
  • Documentatie

Pages

  • homepage
  • digital menu
  • website for restaurants
  • who we are
  • contact
  • blog
  • how to use the platform (category on the blog)

website languages

Plugin for translations Polylang

  • en
  • Ro

navigation

  • homepage
  • Documentation
  • Register
  • Login

Costs & Budget

Budget

  • 40% marketing
  • 40% development
  • 20% profit

Costs

Estimate the costs of the platform running for 1 year

  1. Hosting - $5/mo
  2. Domain - $13.19/y (see more)
  3. Backup server - $2/mo
  4. Object Storage - $5/mo
  5. Hosting website - $2.39

Total per year: ( (5 * 12) + (2 * 12) + (5 * 12) + (2.39 * 12) + 13.19) * 0.98 = 182€/y = 899.67 RON/y

Pricing

#29

Analyze to offer Simple stickers to put on the table included in price.

What other options do I have and where can I get from

subject:

Oferta stickere

email:

Salut,

As dori o oferta pentru stickere 4x5cm de exterior, rezistente la apa, ce vor reprezenta coduri QR. Aceste stickere vor fi lipite pe mese restaurantelor, iar codul QR va deschide o aplicatie de meniu digital.

Este de mentionat faptul ca aceste coduri vor fi diferite, ar trebui sa va trimit probabil un fisier vectorial cu aranjamentul, sau codurile QR individuale si le aranjati dumneavoastra pentru a fi printate. Totodata trebuie sa mentionez ca restaurantele au undeva intre 10-30 de mese -> stickere.

Imi puteti oferi mai multe informatii despre costuri si modul in care se pot face comenzile?

Cu stima,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.