- MariaDB: Data storage
- GraphQL: API
- React: Frontend React app
readerfront/
├── packages/
├── admin # Administration control panel
├── api # API server
├── shared # Shared JavaScript code
├── ui # Shared React components
├── web # Frontend NextJS
- Node JS 14
- yarn
Please follow PRODUCTION instructions.
- Install MariaDB: See the MariaDB documentation for instructions on installing it with your OS.
- Install the dependencies:
yarn install
When you first download the code and want to run it locally you have to migrate the database and seed it with test data. First, start mariadb, then, run these commands:
yarn db:migrate
If you want to imoplement the sample data (includes admin users):
yarn setup:db
Depending on what you're trying to work on you'll need to start different servers. Generally, all servers run in development mode by doing yarn start:<projectname>
, e.g. yarn start:api
to start the API, but first you have to check the secrets, every project contains a .env.example
file with the necessary values.
To develop the API run:
yarn start:api
To develop the web UI run:
yarn start:web
To develop the admin UI run:
yarn start:admin
This is only recommended in dev environment. DO NOT USE THIS IN PRODUCTION!
yarn start:all
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing