paphos-backend
paphos-backend
This is the core backend for the official Pygmalion service.
Very early work-in-progress, not usable in any capacity.
Contributing
If you wish to contribute, this section contains some relevant information.
The stack is:
- Crystal as the language of choice
- Lucky as the web framework
- PostgreSQL as the main database
To get started, you need all of the above installed and functional on your machine.
For development, the default configuration expects a postgres
user with password postgres
to be available. You can then create the databases manually, or use lucky db.setup
to create them automatically I believe.
With PostgreSQL up and running and the development database created, you can boot up the development server:
$ lucky dev
The API should then be reachable at http://localhost:3000/. Routes are under /api/v1
but are undocumented as of now, you'll need to trek through the code to figure them out.
Useful links
- Lucky's official guides: contains tutorials about the usual stuff (installation, route setup, handling data in the database, etc.)
paphos-backend
- 13
- 5
- 9
- 0
- 8
- over 1 year ago
- January 23, 2023
Sat, 16 Nov 2024 17:20:49 GMT