Backend
This is information regarding development. If you're looking for information regarding production setup, see templates.
Endpoints
The Postman API documentation can be found by clicking here.
The Postman collection template for the API is provided in bearblogengine.postman_collection.json located in this directory.
docker-compose
This includes the backend API with databases
Requires
- Clone the repository if it hasn't been done yet
- Navigate to the
backend
directory (the one this README is in)
- Copy
.env.sample
to .env
and edit the variables
- Copy the contents of the template
public
folder to the location where you mounted the container's public
folder
- Run
docker-compose build
- Run
docker-compose up
or docker-compose up -d
Note that after any changes made to the API, you'll have to run docker-compose build
again (not neccesary if you don't use the databases in docker-compose).