Skip to content

A CRUD (beautiful and simple) app for Android using Java language and too many libraries for Android, like Retrofit, Volley, Material Design and others.

License

Notifications You must be signed in to change notification settings

digo-smithh/CRUD-App-Android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRUD-App-Android

Android and NodeJS project to add, update and delete students from a school. It consists of an API and an Android front-end. The API uses mssql driver, express and body-parser to receive requests and deal with the database. The android app uses the Material UI library, volley and retrofit.

Installation and Setup

Just download the project and run them separetely. To run the android app, you can either run the apk or open it in an IDE and run it there. To run the api, open it in a terminal and use:

npm install
npm start

You will need a sql server database to use the api. To acces the data base, go to Node-API-Rest/src/config/db.example.config.js and change the file name to db.config.js. Then, change the content to your info:

module.exports = {
    user: 'Database User',//Your user
    password: 'Password',// Your password
    server: 'Server', // Your server
    database: 'Database Name', // Your database name
    "options": {
      "encrypt": false,
      "enableArithAbort": true
      }
  };

The SQL code to create the table:

CREATE TABLE Student(
code CHAR(5) NOT NULL,
name VARCHAR(50) NOT NULL,
email VARCHAR(50) NOT NULL
)

Meta

Project developed by Eduardo Migueis and Rodrigo Smith. Licensed under the APACHE 2.0 license.

ForTheBadge built-with-love ForTheBadge uses-badges ForTheBadge powered-by-electricity

About

A CRUD (beautiful and simple) app for Android using Java language and too many libraries for Android, like Retrofit, Volley, Material Design and others.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published