Request NodeJS Server and Android App
Application using NodeJS to simulate a REST server and Android app with the volley library to make test in requests REST and multipart/form-data requests
To run the server:
-
-
Make sure you have installed the latest version of NodeJS and npm (in the creation of this repository the version of my machine is nodejs: v6.11.0; npm: 3.10.10;) -
-
Enter inside the foldernodeJS-server
and execute the commandnpm install
-
-
After installation run the commandnpm run build
-
to compile the tipescript and convert to javascript
-
-
Finally start the server with this commandnpm start
-
if everything happened correctly without errors the server is now running at the address http://localhost:9010/
-
Now open the folder
AndroidProject
Android app on your Android Studio and see the examples you have in it