diff --git a/blockchain_integration/PiSure/server/README.md b/blockchain_integration/PiSure/server/README.md new file mode 100644 index 000000000..974094efe --- /dev/null +++ b/blockchain_integration/PiSure/server/README.md @@ -0,0 +1,33 @@ +# PiSure Backend Application + +This is the backend application for PiSure, built using Node.js, Express, and MongoDB. + +## Getting Started + +To get started, run the following command: + +`npm start` + +This will start the server and make it available at `http://localhost:3000`. + +## API Endpoints + +The following API endpoints are available: + +* `POST /api/policies`: Create a new policy +* `GET /api/policies`: Get all policies +* `GET /api/policies/:id`: Get a policy by ID +* `PUT /api/policies/:id`: Update a policy +* `DELETE /api/policies/:id`: Delete a policy + +## Testing + +To run tests, use the following command: + +`npm test` + +This will run the tests using Jest. + +## Contributing + +Contributions are welcome! Please submit a pull request with your changes and a brief description of what you've added or fixed.