Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vuquangpham/boilp
Creating multiple pages of web applications on the fly 💨💨
https://github.com/vuquangpham/boilp
boil-colections boilerplate ejs express template
Last synced: 23 days ago
JSON representation
Creating multiple pages of web applications on the fly 💨💨
- Host: GitHub
- URL: https://github.com/vuquangpham/boilp
- Owner: vuquangpham
- License: mit
- Created: 2023-02-16T16:58:52.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-31T10:08:18.000Z (7 months ago)
- Last Synced: 2024-03-31T11:23:32.914Z (7 months ago)
- Topics: boil-colections, boilerplate, ejs, express, template
- Language: JavaScript
- Homepage:
- Size: 3.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Take a first look at https://threejs-journey-ruddy.vercel.app/
# Boilp Templates
Create multiple pages applications on the fly
## What we do?
To create a page, just edit the `pages.js` file with the syntax
```js
module.exports = createPagesPrototype([
{
title: "The category name",
base: "category-in-slug",
pages: [
{
title: "Title of a single page",
},
],
},
]);
```It will automatically create for you 2 separate files in `app/pages/slug/` and `views/pages/slug/`
## Examples
Depends on your work. I created this template to control my learning journey at the beginning (because I have to create each file for each lesson 😒), so I just wanna control it all in one place
I have 2 examples below:
- [Three.js Journey](https://threejs-journey-ruddy.vercel.app/) - my learning journey in Three.js, control all lessons in one place :)
- [Creative Corners](https://creative-coding-delta.vercel.app/) - my creative corners, I can do all the creative things in my mind in one place :)You can follow the [simple repository here](https://github.com/vuquangpham/threejs-journey)
## Deployment
Run `./public` in dev mode
```shell
npm start
```Build files from `./app` to `./public` for production and run in production mode
```shell
npm run build
```