A imageboard engine with modern things, just that.
Uses Node and Express for the API, Pug for rendering pages and Vue for the panel.
This proyect stills unstable for production, there are some bugs and shitcode to be fixed.
Clone the repo:
git clone https://github.com/PedGarblue/cafechan.git
cd cafechan
Install dependencies:
yarn install
Environment variables:
cp .env.example .env
# open .env and modify the environment variables (if needed)
Running locally:
yarn dev
Running in production:
yarn start
Building client app:
# development
yarn build:dev
# production
yarn build:prod
Testing:
# run all tests
yarn test
# run server tests
yarn test server
# run client tests
yarn test client
# run all tests in watch mode
yarn test:watch
# run test coverage
yarn coverage