- Go in the backend folder with
cd Stammtisch-backend
- Install the node packages
npm install
- (optional) create a
config.js
(copy and renamedefaultConfig.js
and set your port and other values) - Start the server with
node index.js
- Go to the frontend folder with
cd Stammtisch-app
- Install ionic
npm install -g @ionic/cli
- create a
config.js
(copy and renamedefaultConfig.js
and set your server ip address and other values) - Start the client with
ionic serve
- Install the Prettier extention
- Set "Use Editor Config" to false
"prettier.useEditorConfig": false
- Install mysql
- create database
stammtisch
- run
mysql -u <username> -p
- run
source /path/to/stammtisch-backend/sql/database-structure.sql
- add to your
Staammtisch-backend/config.js
file:
database: {
host: "localhost",
user: "<user>",
password: "<password>",
databaseName: "stammtisch",
}