Skip to content

\Software Engineers - Interview Assignment: Country Data Dashboard

Notifications You must be signed in to change notification settings

faizushaik/elancoTask

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Donate us Support us Follow us on Twitter

Description

Nest framework TypeScript starter repository.

Project setup

$ npm install

Compile and run the project

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Run tests

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Resources

Check out a few resources that may come in handy when working with NestJS:

  • Visit the NestJS Documentation to learn more about the framework.
  • For questions and support, please visit our Discord channel.
  • To dive deeper and get more hands-on experience, check out our official video courses.
  • Visualize your application graph and interact with the NestJS application in real-time using NestJS Devtools.
  • Need help with your project (part-time to full-time)? Check out our official enterprise support.
  • To stay in the loop and get updates, follow us on X and LinkedIn.
  • Looking for a job, or have a job to offer? Check out our official Jobs board.

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

Access the Sorted Data

Now, you can access the sorted countries by population with the following endpoints: Ascending Order: GET http://localhost:3000/countries/sorted?order=asc Descending Order: GET http://localhost:3000/countries/sorted?order=desc

Access the Filtered Data

You can now access the countries filtered by region using the following endpoint: To get countries in Asia: GET http://localhost:3000/countries/by-region?region=Asia To get countries in Europe: GET http://localhost:3000/countries/by-region?region=Europe

Access the Search Functionality

You can now access the search functionality using the following endpoint: To search for countries by name: GET http://localhost:3000/countries/search?query=france To search for countries by capital: GET http://localhost:3000/countries/search?query=paris

About

\Software Engineers - Interview Assignment: Country Data Dashboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published