This is the backend for a bookstore website, built with Strapi v5 and written in TypeScript.
It uses SQLite for development and includes Stripe integration for payment processing.
Install dependencies:
yarn install
# or
npm installStart the development server:
yarn develop
# or
npm run developThe admin panel will be available at: backend-production-dd5c.up.railway.app
| Script | Description |
|---|---|
npm develop |
Start the app in development mode |
npm build |
Build the admin panel |
npm start |
Start the app in production mode |
npm deploy |
Deploy the app (Strapi Cloud plugin) |
Create a .env file in the root directory based on the example below:
# Server
HOST=0.0.0.0
PORT=1337
# Secrets
APP_KEYS=your_app_keys
API_TOKEN_SALT=your_api_token_salt
ADMIN_JWT_SECRET=your_admin_jwt
TRANSFER_TOKEN_SALT=your_transfer_token_salt
JWT_SECRET=your_jwt_secret
# Database (SQLite by default)
DATABASE_CLIENT=sqlite
DATABASE_FILENAME=.tmp/data.db
# Stripe
NEXT_PUBLIC_STRIPE_PUBLIC_KEY=your_stripe_public_key
STRIPE_SECRET_KEY=your_stripe_secret_key
STRIPE_API_KEY=your_stripe_secret_keyYou can copy
.env.exampleand rename it to.env.
@strapi/plugin-users-permissions@strapi/plugin-cloudstripe
This project is deployed on Railway. You can also deploy to other platforms following the official Strapi deployment guide.
Made with ❤️ by Aida (https://github.com/11thmoonlight)