Web API Template 2.0?

Which features are you most anticipating?


  • Total voters
    13

Adrian01

New Member
Just a little request / suggestion (maybe you already had this in mind).

I just want to comment that not all API's are related to a DB (CRUD type).
So it would be nice if you let the API foundation to be easily extendable to add other use cases (not database related).

I found this article, and the first paragraph describes what I really mean.
Please ignore the title, as we all know that an API is not a DB (title is a bit offensive):

My main point is that an API lots of the times is not directly mapped to a table 1:1 CRUD operations.

Google any API, for example mandrill's API.
As you can see, there are lots of actions non db-related like exporting a list, listing ip addresses, starting the warmup process for an ip, etc.

I hope your project could include a simple sample of an api to get the time from the server, so you show non-CRUD apis are possible and people have some guidance on that :)

Thanks a lot
Adrian
 

aeric

Expert
Licensed User
Longtime User
Just a little request / suggestion (maybe you already had this in mind).

I just want to comment that not all API's are related to a DB (CRUD type).
So it would be nice if you let the API foundation to be easily extendable to add other use cases (not database related).

I found this article, and the first paragraph describes what I really mean.
Please ignore the title, as we all know that an API is not a DB (title is a bit offensive):

My main point is that an API lots of the times is not directly mapped to a table 1:1 CRUD operations.

Google any API, for example mandrill's API.
As you can see, there are lots of actions non db-related like exporting a list, listing ip addresses, starting the warmup process for an ip, etc.

I hope your project could include a simple sample of an api to get the time from the server, so you show non-CRUD apis are possible and people have some guidance on that :)

Thanks a lot
Adrian
This is exactly what I have posted in other thread.
 

aeric

Expert
Licensed User
Longtime User
First beta uploaded to GitHub. The file size of the template is 2.25MB. It is bigger than before due to an admin dashboard template (AdminLTE 3) is added for demo.

 

aeric

Expert
Licensed User
Longtime User
Do you enjoy my Web API template and Web API Client template?

I wanted to make B4X more popular by making it possible to quickly create an API server in just seconds!

After I published my version 1 of Web API, I saw some members are interested and like this project. I also received a donation from @Mashiane. After that, I don’t expect much comments about it. I am thinking there must be issues with this project.

There are many programming languages such as PHP, Python, Ruby, .NET, Java, NodeJS to name a few; to make the API backend server. Are they more superior in many ways?

Would you be interested if I create a new version which is near to production use? Would more people donate or sponsor to this project?

I have mentioned about project EndsMeet where it is targeted as a front-end and back-end framework which will be my ultimate goal. If I create a new version of Web API then it will contribute a lot to this ambitious project.

My plan of Web API template 2.0 is:
✔️1. Add the User and Password handlers as available in jAPI project
✔️2. Add File Upload handler
✔️3. Improve Help handler
✔️4. Demonstrate how to integrate the API backend with other front-end framework such as Vue, Angular, React
✔️5. Basic Authentication
✔️6. Use JSON Web Token (JWT)
✔️7. Use Mini ORM (Object Relational Mapper)
✔️8. More cleaner and configurable server startup
✔️9. More simpler routing in custom handler
⏳10. Scaffold a custom handler using an external tool
⏳11. Add a database migration class
✔️12. Add function to create a “plain” JSON response
✔️13. A guide or tutorial on how to use
✔️14. Add an Admin page for manage user profile, access token and models (CRUD)

( Legends: ✔️=Done ⚒️= Working in progress ⏳= Not started )

Please give your opinion. Thanks!

⏳10. Scaffold a custom handler using an external tool
⏳11. Add a database migration class

For these 2 items, I hope it will be left for project EndsMeet.
 
Top