You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0/
12
12
- Add support for python 3.12. [#22](https://github.com/Healy-Hyperspatial/stac-fastapi-mongo/pull/22)
13
13
- Updated sfeos core to v3.0.0a0, fixed datetime functionality. [#23](https://github.com/Healy-Hyperspatial/stac-fastapi-mongo/pull/23)
14
14
- Create indexes in MongoDB at startup only if environment variable MONGO_CREATE_INDEXES is set to "true" (default when the env variable is not set: "true"). [#31](https://github.com/Healy-Hyperspatial/stac-fastapi-mongo/pull/31)
15
+
- Improved README with table of contents, better formatting, and added Contributing section. [#34](https://github.com/Healy-Hyperspatial/stac-fastapi-mongo/pull/34)
15
16
16
17
### Fixed
17
18
18
19
- Added a new index based on collection id and item id to ensure item IDs aren't required to be unique across all collections. [#26](https://github.com/Healy-Hyperspatial/stac-fastapi-mongo/pull/26)
19
-
- Updated test fixtures to use ASGITransport with AsyncClient for compatibility with newer httpx versions.
20
+
- Updated test fixtures to use ASGITransport with AsyncClient for compatibility with newer httpx versions.[#35](https://github.com/Healy-Hyperspatial/stac-fastapi-mongo/pull/35)
Copy file name to clipboardExpand all lines: README.md
+83-21Lines changed: 83 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,34 +1,62 @@
1
1
# stac-fastapi-mongo
2
2
3
-
## Mongo backend for the stac-fastapi project built on top of the [sfeos](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch) core api library.
3
+
<!-- markdownlint-disable MD033 MD041 -->
4
+
5
+
<palign="left">
6
+
<imgsrc="assets/stac-fastapi-mongo.png"width=560>
7
+
</p>
8
+
9
+
10
+
MongoDB backend for the [stac-fastapi](https://github.com/stac-utils/stac-fastapi) project built on top of the [sfeos](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch) core API library.
<!-- [](https://gitter.im/stac-fastapi-mongo/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -->
Basic authentication is an optional feature. You can enable it by setting the environment variable `BASIC_AUTH` as a JSON string.
96
132
@@ -132,7 +168,6 @@ Example: This example illustrates the configuration for two users: an **admin**
132
168
}
133
169
```
134
170
135
-
136
171
### Public Endpoints Configuration
137
172
138
173
In order to set endpoints with public access, you can configure the public_endpoints key with a list of endpoint objects. Each endpoint object should specify the path and method of the endpoint.
@@ -163,10 +198,37 @@ Example: This example demonstrates the configuration for public endpoints, allow
163
198
}
164
199
```
165
200
166
-
### Basic Authentication Configurations
201
+
### Authentication Configurations
167
202
168
203
See `docker-compose.basic_auth_protected.yml` and `docker-compose.basic_auth_public.yml` for basic authentication configurations.
169
204
170
-
## Note for read-only databases
205
+
## Note for Read-Only Databases
206
+
207
+
If you are using a read-only MongoDB user, the `MONGO_CREATE_INDEXES` environment variable should be set to "false" (as a string and not a boolean) to avoid creating indexes in the database. When this environment variable is not set, the default is to create indexes. See [GitHub issue #28](https://github.com/Healy-Hyperspatial/stac-fastapi-mongo/issues/28)
208
+
209
+
## Contributing
210
+
211
+
Contributions are welcome! Here's how you can help:
212
+
213
+
### How to Contribute
214
+
215
+
1.**Fork the repository** - Create your own fork of the project
216
+
2.**Create a feature branch** - `git checkout -b feature/your-feature-name`
217
+
3.**Commit your changes** - Make sure to write clear, concise commit messages
218
+
4.**Push to your branch** - `git push origin feature/your-feature-name`
219
+
5.**Open a Pull Request** - Describe your changes in detail
220
+
221
+
### Development Guidelines
222
+
223
+
- Follow the existing code style and conventions
224
+
- Add tests for new features
225
+
- Update documentation as needed
226
+
- Make sure all tests pass before submitting a PR
227
+
228
+
### Reporting Issues
229
+
230
+
If you find a bug or have a feature request, please open an issue on the [GitHub repository](https://github.com/Healy-Hyperspatial/stac-fastapi-mongo/issues).
231
+
232
+
## Changelog
171
233
172
-
If you are using a read-only MongoDB user, the `MONGO_CREATE_INDEXES` environment variable should be set to "false" (as a string and not a boolean) to avoid creating indexes in the database. When this environment variable is not set, the default is to create indexes. See [Github issue #28](https://github.com/Healy-Hyperspatial/stac-fastapi-mongo/issues/28)
0 commit comments