DEV Community

You are front-end developer? This is for you, Sample Data API

Simc Dev on October 10, 2022

Hello, Today i am making this post for my new website which is based on sample data. Here, I have created for the front-end developer. It can b...
Collapse
 
polterguy profile image
Thomas Hansen

You can create your own API with registrations, authentication, and authorization - And wrapping a database you design in 2 minutes using our CRUD generator stuff ...

The whole process takes less than 5 minutes and is free for one month ...

Collapse
 
devsimc profile image
Simc Dev

But mine is free for life time.

Collapse
 
polterguy profile image
Thomas Hansen

Great! But mine allows you to generate any model, and/or HTTP endpoint you wish ... ;)

Sorry - Najs work man ^_^

Thread Thread
 
devsimc profile image
Simc Dev

Great, Will do this changes down the line

Collapse
 
doricci profile image
Ricci Dorian

Hello,

This is a really nice idea, and it could be a good idea to refactor your endpoint so it's respect the REST naming api and to remove the index.php from the url :)

It would also be great to add a fake OAUTH2 login method that would return a fake JWT and some "private" routes that will be protected with that fake token.

Good luck with this nice tool!

Collapse
 
devsimc profile image
Simc Dev

Thanks for your feedback. Will surly implement it.

Collapse
 
mbhossain profile image
Mohammad Belal

The postman collection didn't work. Show "SSL peer certificate or SSH remote key was not OK" error in both Postman and Insomnia. What's wrong with me I am not clear, could anyone say something?

Collapse
 
devsimc profile image
Simc Dev

You can try directly with given API request in APIs section.

Collapse
 
devsimc profile image
Simc Dev

Let me know if its still not working

Thread Thread
 
mbhossain profile image
Mohammad Belal

Image description

Thread Thread
 
devsimc profile image
Simc Dev

try to disable ssl..

I got the the issue will fix it in next release.

Thread Thread
 
mbhossain profile image
Mohammad Belal

Done. Thanks

Thread Thread
 
devsimc profile image
Simc Dev

Glad.... It become usefull for you.

Thread Thread
 
devsimc profile image
Simc Dev

Also, You are first one who has used this sample API. Got you first entry in DB Belal Dhaka

Thread Thread
 
mbhossain profile image
Mohammad Belal

Also glad to use this and it was a nice journey.