Mindenit Schedule API is a drop-in replacement for NURE CIST API, that a list of features such as:
- 100% Valid JSON, no more pain with fixing NURE CIST's JSON;
- Better performance, get data with 2x performance boost;
- Revolutionary response format, you don't need to make requests to additional routes to get particular information, everything you need could be get in one request;
- Awesome REST endpoints, no more headaches while trying to understand CIST endpoints;
- Documentation for developers written with care, everything you need to know about API endpoints is in one place, with playground for testing.
Documentation with playground for testing could be found via link
-
Application is working with Node.js 22 and larger. First of all make sure that your Node.js version is capatible with requirements.
-
Install dependencies. We use
pnpmas package manager
pnpm i- Copy
.env.exampleto new.env. You can do it by simply running following script:
node --run copy:config- Launch the db:
# Using docker cli
docker compose up db -d
# Using provided npm script
node --run db:start:dev- Generate and apply migration:
# Generate migration
node --run db:generate-migration
# Apply
node --run db:apply-migration- Run the application:
node --run start:dev
# For running in watch mode
node --run start:dev:watch- Edit an existing schema or create new.
- Run following command to generate migration:
node --run db:generate-migration- In order to apply the migration run:
node --run db:apply-migration- If you want to drop a migration, just run this command:
node --run db:drop-migrationAuthor - Kyrylo Savieliev