This is the source code for my article titled "Basic config server to avoid hardcoding in iOS applications"
You will need Node.js, npm, MariaDB and Xcode.
- Open BasicConfigServer:
cd BasicConfigServer
- Install dependencies:
npm install
- Install MariaDB and create database based on
Database/db.spf
file. - Change configuration in
BasicConfigServer
to reflect your credentials. - Run the backend application:
node server.js
- Open BasicConfigClient project in Xcode.