Skip to content

rishabhkumar1211/weatherBackend

Repository files navigation

TEST TASK NODE WITH LAMBDA

Setup

1. setup mongodb locally

2. Install packages using yarn or npm

yarn install

or

npm i

3. Run project locally

yarn serve:watch

Project guidelines

1. In this project using serverless framework for managing lambda function

2. serverless.yml file is responsible for lambda function

3. Currently test function of GET type is there, also there is ENV variable 'MONGO_DB_URL' for connection to the mongo db

4. We are using middy for middleware, currently we have 'initDb' middleware initialise the connection to the mongodb

5. Currently we have test API in 'src/functions/test.js'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published