An application which helps in choosing a date and location, based on optimal weather conditions, for hosting picnics.
Project was bootstrapped with Nest - a progressive Node.js framework for building efficient and scalable server-side applications.
$ yarn- Create
.envand.env.testenvironment variable files in the root of the project - Copy over the environment variables from the
*.exampleenvironment files into their respective.env*files - Head over to OpenCage, sign up for a free account and obtain an API key
- Add the API key as value for
GEOCODER_API_KEYvariable in both.envand.env.testfiles.
- Add the API key as value for
# development
$ npm run start
# watch mode
$ npm run dev
# production mode
$ npm run start:prodWhile the application is running, open your browser and navigate to http://localhost:5000/docs. You should see the Swagger UI.
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage (unit)
$ npm run test:cov
# test coverage (e2e)
$ npm run test:e2e:cov