This is the json server for FarmFolio. To set it up in a development environment follow the steps below.
[email protected]:NB-Kamoni/FarmFolio-Backend.git
npm install
npm run dev
use CTRL + C to stop the server
Since this server is for testing and prototyping, you can reset the data to its initial state.. In future this backend will be migrated to a more secure and scalabele DB.
Feel free to reset the data to its initial state through:
npm run seed
Incase you add a new endpoint (a new key and its array), Please update the initial state of the data in seeds.json