A Content Management System designed from the ground up to be fast, scalable and platform agnostic.
To run the application
-
Install Docker and Docker Compose.
-
Type and the enter the command
sudo docker-compose up
from the root of the application directory. -
Wait for things to spin up and then navigate to
http://localhost:51212/
. -
Want to administer, see the schema or data in the database?
- Navigate to
http://localhost:5050/
. - Login with the username
mohammad.shahab.rafiq@dukaan.co.uk
and password{%096t4y8f99<@I
. - Bring up the context menu on the
Servers
node, hover over theCreate
and click theServer
node. - Enter a name for the connection in the
General
tab and then move over to theConnection
tab. - Enter
database
in theHost name/address
input field. - Enter
dukaan_web
in theUsername
input field. - Enter
;Ncd660(83m3V8F
in thePassword
input field, optionally check save password and then click Save.
- Navigate to
-
PostgREST, a standalone webserver, is used to turn our PostgreSQL database directly into a RESTful API to be queried. Swagger UI is used to visualise and interact with the api. Navigate to
http://localhost:8080/
to see and play with it.
Technologies
Nitpick corner
I know you are not supposed to commit secrets into the repository, but this is a proof of concept.