Matt Simoncavage
Posts: 0
Joined: Thu Jun 04, 2015 7:10 pm

MySQL Signup Service

We are trying to create a Create Account form in our app using a MySQL database through a REST service. We have the MySQL database connected to our app using API Express. Can you please guide us through using MySQL REST service to recreate the default signup, login, and logout services that are included with Appery?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

MySQL Signup Service

Hello Matt,

You can add sign-up service as simple API Express "create" service:
just send all necessary data to the service which will create new DB item.

Also you can use login service as "find" API Express service:
API Express will find user by login/password fields.

Matt Simoncavage
Posts: 0
Joined: Thu Jun 04, 2015 7:10 pm

MySQL Signup Service

Hi Sergiy,

Thanks for your help on this. I was able to successfully create two "create" services: one for creating users and one for creating posts. Using the appery database, I was able to make the user's name appear with the post they created using a storage variable. However, using the new services you helped me create with my MySQL database, the storage variable technique doesn't seem to be working. In fact, the user is created just fine, but the storage variable prevents the post service from working at all. Can you help me out with this.

Thanks again!

  • Matt
Matt Simoncavage
Posts: 0
Joined: Thu Jun 04, 2015 7:10 pm

MySQL Signup Service

Hi again Sergiy,

I got the above problem to work. Turns out it was a glitch in my browser's cache.

  • Matt

Return to “Issues”