Skip to content

sidjee/Vending-machine-Server

Repository files navigation

Vending-machine-Server

This is a vending machine server which will keep the record of the items available in the vending machine. Backend used is MySQL

  1. Add a mypass.js file in the parent directory of this directory which will contain:-
module.exports = '<Your mysql root password>';
  1. Create the following tables:-
create table users(id int not null auto_increment,username varchar not null, password varchar not null, primary key(id));
create table products(id int not null auto_increment, A int, B int, C int, D int, primary key(id));
  1. Put a secret key in config.json.
npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published