Our great sponsors
-
I'm not going to dive deep into all of the possibilities because they are endless. It's worth taking a look at the full documentation in their Github to take advantage of its full power.
-
Considering you have already created the main structure of your project using NPM or Yarn, install the package to your project using one of the following commands:
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
Lowdb
Simple to use local JSON database. Powered by plain JavaScript (supports Node, Electron and the browser)
JSON Server works based on Low DB a "Tiny local JSON database for small projects". So you need to configure a db.json file that will serve the data.
-
You can find a fully-working example in this repository.
-
JSON Server will act like a simplified Express server, so, this is how you create the main file required by it to run: