O'clock's apotheosis REST API. This API accesses a postgresql database to serve a RPG creation and referencement frontend application.
You can find a demo of the project at ogm.alexisdelahaye.fr.
If you want to access the API, you can use ogm-api.alexisdelahaye.fr.
Prerequisites:
- Having postgresql installed.
- Having sqitch installed.
Steps :
- Create a user for the postgres database.
- Create a database for the project and set the owner to the user created in step 1.
- Copy
.env.example
to.env
and fill in the values. - Copy
sqitch.example.conf
tosqitch.conf
and fill in the values. - Install the dependencies using
npm i -y
. - Deploy the database using
npm run db:deploy
. - If you want to seed the database, use
npm run db:seed
. - Start the server using
npm run start
.
- All the route documentation is available at the route
/api-docs
.
This project is currently private and not licensed. Please contact me if you want to use it.