- NodeJS
- Python 3.11
To install all required dependencies, run this command:
npm iAnd to start frontend server, run this command:
npm start
Create
data.py
fileDBusername = 'root' DBpassword = 'password' DBhost = 'localhost' DBport = '3306' DBdatabase = 'hotel' #To create secret key run this in terminal: openssl rand -hex 32 SECRET_KEY = 'verysecretkeygoesherenlawdlanwldalwdbaljfbljnsxlkvnbodsjrvnf' ALGORITHM = "HS256" ACCESS_TOKEN_EXPIRE_MINUTES = 60 * 24 * 7To install all required packages, run this command:
pip install -r requirements.txtAnd to run server, run this:
python main.py
mysql cmd:
create database hotel; SET @@global.sql_mode= '';cmd:
mysql -u @USER -p hotel < ./hotel.sql