Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Aug 6, 2024
1 parent ed7bb27 commit 335d663
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions blockchain_integration/PiSure/server/README.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 335d663

Please sign in to comment.