Skip to content

GET, POST, PUT and DELETE methods for rethinkDB in typescript using serverless

Notifications You must be signed in to change notification settings

axewilledge/serverless_rethinkdb_typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless_rethinkdb_typescript

GET, POST, PUT and DELETE methods for rethinkDB in typescript using serverless

First setup rethinkDB in your machine https://www.rethinkdb.com/docs/install/

Run - npm install

Using administrator command promt run - serverless offline start To run the server

First run the initial database setup get method to create a database and table http://localhost:3000/initialLaunch/run

You can use the services in - http://localhost:3000/offers (GET,POST,PUT,DELETE)

Accepeted json format is -


{
   "duration": "3 Day",
   "offers" : [{"Bank offer":"Free"},{"School offer": "Free"}]
}

About

GET, POST, PUT and DELETE methods for rethinkDB in typescript using serverless

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published