Based on my localized version of KeystoneJS (https://github.com/enlian/keystoneJS-zh-demo), this demo showcases how to build an image and text-based website using KeystoneJS.
Continuous updates... If you're interested, feel free to star the project! Thank you!
To install the project dependencies, run:
npm i
Ensure that MongoDB is running, as the project relies on it.
In the project root directory, create a .env
file and add the following environment variables:
COOKIE_SECRET=your-random-string
CLOUDINARY_URL=your-cloudinary-url
MONGO_URI=your-mongodb-connection-string
To start the development server, run:
npm run dev
This will launch the project in development mode.
To build and run the project in production mode, run:
npm run pro
This will create an optimized production build and start the server.
For more details on installation, deployment, or troubleshooting, refer to the official KeystoneJS documentation.
Continuous updates... If you find this project helpful, feel free to give it a star! Thank you!