Vegetables-Fruits-API

Rest API for vegetables and fruits using node.js and mongoose

Instalation and Setup

  • Git clone this repository
  • Npm install to install the dependencies
  • Rename .env.example to .env
  • Fill the MONGO_URI with your own mongo db cluster connect
  • But if your my friend and i trust you, i will think about give you my mongo db uri :)
  • Npm start to start the server

Todo

  • CRUD Vegetables
  • CRUD fruits
  • Register
  • Login & Logout
  • Protect some route with Authenticated Token
  • Authorization with JWT
  • Set token to 0 when logout