Skip to content

budasuyasa/simple-android-crud

Repository files navigation

simple-android-crud

Simple Android CRUD application using REST-API. This simple CRUD application using book-rest-api as REST-API backend, build on ExpressJS and MySQL database.

Simple Android CRUD


Install

  1. Make sure you have installed Android Studio, NodeJs and MySQL server on your local machine.
  2. Clone book-rest-api to your local machine. Config your port and database connection. Click here for more details.
  3. Clone this repo to your local machine. Open Android Studio and open this project. Open up app/src/main/java/budasuyasa/android/simplecrud/Config/ApiEndpoint.java, and set your REST-API endpoints as shown below. If you connect to your localhost using Android Emulator, use IP 10.0.2.2:port as BASE URL.
    public static String BASE = "http://10.0.2.2:3000/";
    public static String BOOKS = BASE + "book";
  1. You are done. Debug your application using device or Android Emulator.

About

Simple Android CRUD application using REST-API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages