Skip to content

siddhantmittal024/Natours-Api-Part-1

Repository files navigation

NATOURS-API

26-06-2020: Node.js and Express Framework!

  • Created server, routing and html templating.

  • Created Responses and Requests, event loops, modules.

  • Started using Express and installed Postman.

  • Used HTTP methods and CRUD operations(get,post,patch,delete).

  • Learned and used Middlewares and ESLint.

  • Created a config file which contains the enviroment details and other related details to the database and app.


  • 05-07-2020: MongoDB and Mongoose Added!!

  • Installed MongoDB and learned the basics.

  • BSON Structure and some request in cmd to learn how to create,delete,find,update files in a Database.

  • Started using MongoDB in our APP with the help of Mongoose node package.

  • Connected our cluster of MongoDb with terminal,app and compass app.

  • Created Schema and learned about MVC Structure in Express.

  • Created my document and made the requests for reading,finding,updating and deleting data.

  • How to import data from other files into our database(process.argv)!

  • Made my API better by using Mongoose Features like filter, sorting, limiting, pagination and aliasing.

  • Learned aggregate properties which includes match, group, unwind and project to make our API more BUSINESS friendly.

  • Virtual Properties and Types of Middlewares in Mongoose.

  • Data Validators inbuilt and custom.


  • NPM PACKAGES USED:

  • dotenv

  • express

  • mongoose

  • morgan

  • slugify

  • validators


  • ------------ FINISHED A PART OF MY API FOR THE APP, MORE TO COME SOON!! -------------

    About

    Node.js and Express Framework

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published