Open AimeTPGM opened 7 years ago
So, you are requesting for someone to contribute a backend API in a different programming language to what has already been done in the list above?
Oh~ Hello, @ldco2016 I'm sorry that my statement might be confusing but I'll try my best to explain ;)
it means Backend APIs list above has been done already and it would be great if someone want to extend the code for generating another simple backend file like ...... adding Python Django or else ~
the generated backend files will be helpful when we are going to start a new project ;) for example, if I want a NodeJS+ExpressJS backend, I run this project and use POSTMAN to send a POST request to http://localhost:3000/gen with the following request body:
{
"programmingLanguage" : "NodeJSExpressJS",
"keywords" : [
{
"keyword" : "get",
"param" : "hello"
},
{
"keyword" : "post",
"param" : "hello/new"
},
{
"keyword" : "listen",
"param" : "3000"
}
]
}
then it will generate NodeJS ExpressJS RESTful APIs which includes app.get('/hello')
, app.post('/hello/new')
and listen at port 3000 in result/server.js
and send the file to me.
I can use that file to run a new NodeJS server :D (so, it saves time and we don't have to type everything. Just that! lol)
Is this generator to generate the endpoint urls from api ? Or some else?
So do you want that if someone accesses url saying
http://localhost:300/gen, it should just create or showcase the get
, post
and listen
methods/routes?
Add backend RESTful API template of another programming language and framework
Hello, guys!
AS-IS
This generator is able to generate 3 templates of different backend APIs, those are
TO-BE
We could add more backend technologies to generate a simple backend RESTful APIs templates of that programming language and framework you selected.
please read Contribution Guideline
Any question, please feel free to ask. Any suggestion and recommendation are all welcome! ;)
Happy Hacktoberfest