REST api for Index.
This api requires the following services:
- PostgresSQL
- Redis
- RabbitMq
A Docker compose file for development purposes is available in the root directory, named docker-compose-dev.yml
It creates all the required services and their web dashboards:
| Service | username | password | endpoint | web dashboard |
|---|---|---|---|---|
| PostgreSQL | IndexDevUser | IndexDevPassword | localhost:5432 | localhost:8081 |
| Redis | localhost:6379 | localhost:8082 | ||
| RabbitMq | guest | guest | localhost:5672 | localhost:8083 |
There is a pre-made .env file for development located in config/env/.env.local, just copy it to the root directory and adjust it as needed
To connect to the Postgres database via the web dashboard put as the
Serverthe name that you gave to the postgres container, if using thedocker-compose-dev.ymlfile it will beindex-postgres.The database by default is
indexdevdb
A developer account for Index can be created by running the CreateDevUser.kt in /scripts/:
OpenAPI documentation is available at:
- public: localhost:8080/docs/scalar
- internal: localhost:8080/docs/internal/scalar
Use [ci skip] in a commit message to skip circleci process.
Also please create a new branch for new features or substantial bug fixes
